Skip to content

hjpaul7/code-databank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EFA code-databank

Deployed:

https://efa-code.web.app/

How to setup

  • Clone repo
  • CD into /server and install node modules
cd server/
npm install

  • CD into /code-databank and install node modules
cd code-databank
npm install
  • Create a .env file in the root of the server folder and add the following variables
PORT =
JWT_SECRET =
DB_CONNECTION_STRING =
  • In postgres, create a database for the app and update .env with database name

  • Using postgres the default DB_CONNECTION STRING is:

postgres://USERNAME:PASSWORD@localhost:5432/YOUR-DATABASE-NAME

Running the app

  • Server
node index.js
  • Client
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published