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 🚀