Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

coding-blocks/hiring-blocks-legacy

Repository files navigation

Hiring Blocks

Heroku

CB Placements web portal for jobs and internships

Setup

Clone the repository and install node packages

Please ensure you have the latest version of Nodejs and Node Package Manager (NPM) installed

git clone https://github.com/coding-blocks/hiring-blocks
cd hiring-blocks
npm install

Configure the Database

Install Postgres, and use the following commands to setup the database and new role. The following commands are written as per the default configuration specified in secrets.json. You can change secrets.json to fit your preferences and modify the commands accordingly.

createdb hb
createuser cbuser
psql cbuser

Once the psql shell comes up, change the password for the role 'cbuser' by typing the following

\password cbuser

Enter "cbpass" (without quotes) to change the password to "cbpass" for the role "cbuser". Then, type \quit to exit the shell.


Running the app

npm start

POSTMAN API cb.lk/hbdoc

About

CB Placements web portal for jobs and internships

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •