This repository contains the backend code for the Review App project.
Please Note: This project is divided into two repositories:
- Review App Frontend
- Review App Backend (You are here)
For more information about the project, visit the frontend repository.
-
Clone the repository:
git clone https://github.com/piyushgarg-dev/review-app-api.git
-
Move to the backend folder:
cd review-app-api
-
Install and set up Docker.
-
Run Docker in the background. If you have an older version of Docker, use the following command to run the
docker-compose.yml
file in detached mode:docker-compose up -d
Otherwise, run:
docker compose up -d
-
Set up the backend by running the following command:
yarn
The .env.local
file should contain the following environment variables:
DATABASE_URL=postgresql:https://postgres:password@localhost:5432/review
JWT_SECRET=superman123
Run database migrations with the following command:
yarn migrate:latest
To start the backend server, run the following command:
yarn local
Congratulations! Your backend is now running at https://localhost:8000/development/graphql.
If you have any questions, need clarifications, or want to discuss ideas, feel free to reach out through the following channels:
- Discord Server
- Twitter (formerly X)
We appreciate your contributions and look forward to working with you to make this project even better!