This repo contains the source code for the backend of the Feedback App. The backend is built using following technologies:
To get started with the project, perform the following steps:
- Clone the repo
git clone [email protected]:utkarsh1311/feedback-app.git # using SSH
- Install dependencies
cd feedback-backend
npm install
- Create a
.env
file in the root directory of the project and add the following environment variables:
DATABASE_URL="postgresql://<username>:<password>@<host>:<port>/<database-name>?schema=public"
JWT_SECRET="<secret>"
PORT=<port>
- Run the migrations
npx prisma migrate dev --name init
- Run the development server
npm run dev
Contributions are welcome! Feel free to open an issue or submit a pull request if you have any suggestions.