This repository contains a full-stack web application using Next.js for the frontend and Python with Quart for the backend. The project is set up to be easily run using a Makefile.
Make sure you have the following installed on your machine:
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git cd your-repository
-
Create a virtual environment:
make virtualenv
-
Install dependencies:
make dev-dependencies
-
Run the database using Docker:
make run-database
-
Run the backend server:
make run-server
-
Run the Next.js frontend:
make run-frontend
Visit http://localhost:3000 in your browser to see the application.
- virtualenv: Creates a virtual environment for the Python backend.
- dev-dependencies: Installs dependencies for the development environment.
- run-database: Starts the database using Docker.
- run-server: Runs the backend server.
- run-frontend: Runs the Next.js frontend in development mode.
- frontend: Contains the Next.js frontend code.
- server: Contains the backend code.
- docker: Contains Docker configurations, including the database setup.
- Customize the database configuration in
docker/database/docker-compose.yml
as needed. - Adjust the project structure and code based on your requirements.
Feel free to contribute, report issues, or provide feedback. Happy coding!