Build a Friend Store with Python(Flask) and JavaScript(React)
- βοΈ Tech Stack: Python, React, SQLite, SQLAlchemy, Flask, Chakra UI
- β CRUD Functionality: Seamlessly create, read, update, and delete friends from your store.
- π Best Practices: Utilizes best practices such as creating virtual environments (venv) for a clean and isolated development environment.
- π Deployment: Deployed on Render for free.
- π¨ Stylish UI Components: Enhanced user experience with stylish UI components provided by Chakra UI.
- π Light and Dark Mode: Enjoy a personalized user interface experience with light and dark mode options.
- π± Responsive Design: The app is designed to adapt to various screen sizes, ensuring a consistent experience across devices.
- Clone the repository:
git clone https://github.com/burakorkmez/react-python-tutorial- Navigate to the project directory:
cd react-python-tutorial- Navigate to the backend directory:
cd backend- Create a virtual environment:
- On macOS and Linux:
python3 -m venv venv- On Windows:
python -m venv venv- Activate the virtual environment:
- On macOS and Linux:
source venv/bin/activate- On Windows:
venv\Scripts\activate- Install the dependencies:
- On macOS and Linux:
pip3 install -r requirements.txt- On Windows:
pip install -r requirements.txt- Navigate to the frontend directory:
cd ../frontend- Install the dependencies:
npm install- Build the frontend:
npm run build- Navigate to the backend directory:
cd ../backend- Run the Flask app:
flask run-
Open your browser and go to
http://localhost:5000/to view the app. -
Don't forget to Like && Subscribe π