utkarsh1311 / feedback-backend

Backend for the Feedback app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feedback Backend

This repo contains the source code for the backend of the Feedback App. The backend is built using following technologies:

Installation for local development

To get started with the project, perform the following steps:

  1. Clone the repo
git clone git@github.com:utkarsh1311/feedback-app.git # using SSH 
  1. Install dependencies
cd feedback-backend
npm install
  1. 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>
  1. Run the migrations
npx prisma migrate dev --name init
  1. Run the development server
npm run dev

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request if you have any suggestions.

License

MIT

About

Backend for the Feedback app.


Languages

Language:TypeScript 100.0%