It's a free instance which will spin down with inactivity, which can delay requests by 50 seconds or more.
- Clone the repository:
git clone https://github.com/amr0exe/Jed.git
-
Do an
npm install
on in both client and server folder: -
Start a Postgres db using docker:
docker run --name my-postgres -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres
# add the connection-string in .env file
# start and stop easily with docker
docker start my-postgres
npx prisma migrate deploy #to deploye prisma migations to your database
- For starting the project:
npm run dev # on client folder
[following command requires typescript, nodemon to installed ]
tsc -b # for transpiling ts-code
nodemon dist/index.js # for running server