Dev-Valley is a community 🌱 platform for software developers where they can share their knowledge and experiences with others through blog posts and articles.
It is a platform that allows developers to connect with each other and learn from one another.
You can also create your own developer blog on Dev-Valley for free.
Full stack Web project.
Client: HTML, CSS, Javascript, Vue.js, Bootstrap
Server: Python, Flask
Our tech stack will include the following:
- virtualenv as a tool to create isolated Python environments.
- Python3 and Flask as our server language and server framework.
- SQLAlchemy ORM to be our ORM library of choice.
- SQLite as our database of choice.
- You can download and install the dependencies mentioned above using
pip
.
HTML, CSS, with Bootstrap 5 for our website's frontend and Vue.
-
Clone this repo
git clone https://github.com/mahmoudessam820/dev-valley.git
-
Move to backend folder
cd backend
-
Initialize and activate a virtualenv using:
python3 -m venv env .\env\Scripts\activate
-
Install the dependencies:
pip install -r requirements.txt
-
Create an .env file(for environment variables)
-
Create an .env file inside backend folder and put below code inside .env file
FLASK_APP=server.py FLASK_DEBUG=1
-
-
Upgrade the database
flask db upgrade
-
Run the development server:
flask run
-
Verify on the Browser
Navigate to project homepage http://127.0.0.1:5000 or http://localhost:5000
Note: Node version -> v18.15.0
-
Project Setup
npm install
-
Compile and Hot-Reload for Development
npm run dev
-
Compile and Minify for Production
npm run build
-
Run Unit Tests with Jest
npm run test
-
Lint with ESLint
npm run lint
- HTML5
- CSS3
- Javascript
- Vue.js
- Axios
- Jest.js
- Bootstrap
- Python
- Flask
- SQLAlchemy
- Pytest
- SQLite
- PostgreSQL
- Git & GitHub
If you have any feedback, please reach out to us at [email protected]