Skip to content

gotech-io/gotech-assignment-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoTech Assignment API

GoTech Logo

The stack

  1. node - runtime
  2. express - Framework
  3. prisma - ORM
  4. postgres - DB

Configuration

In order to run the server, you must create a .env file It is not in the repo.

Env file creation:

echo "NODE_ENV=development
PORT=3001
DATABASE_URL=postgresql://db_user:some_password@localhost:5432/api_db?schema=public
REDIS_URL=redis://localhost:6379" > .env

Getting started

$ nvm use # This will use the node version from .nvmrc
$ npm install
$ npx prisma generate # This will create a prisma client
$ npm run start:dev # Or run "Debug Locally" in VSCode

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published