Backend for Project Showcase (a platform for people to showcase their projects and build a project-centric profile)
https://github.com/vighnesh192/project-showcase-client
- Express.js
- PostgreSQL
- Objection.js
- Knex.js
Let's setup the server on your local machine.
- Make sure you have Node.js installed on your machine.
Fork this repo to your GitHub account
Clone the forked repo to your local machine
git clone https://github.com/<YOUR-GITHUB-USERNAME>/project_showcase_server.git
Navigate to project directory
cd project_showcase_server
npm install
- You will have to set up remote repositories for getting latest changes from original repository
- Specify a new remote upstream repository that will be synced with the fork using follwoing command :
$ git remote add upstream https://github.com/vighnesh192/project_showcase_server.git
- Verify the new upstream repository you've specified for your fork using
git remote -v
origin https://github.com/<your-user-name>/project_showcase_server.git (fetch)
origin https://github.com/<your-user-name>/project_showcase_server.git (push)
upstream https://github.com/vighnesh192/project_showcase_server.git (fetch)
upstream https://github.com/vighnesh192/project_showcase_server.git (push)
- Create a new file
.env
in the root directory. - Copy all the default content from the
.env.example
file to the.env
file. - You need to edit this
.env
file to provide your own credentials.
- Make sure you have PostgreSQL installed on your machine.
- Run Migrations:-
npm run migrate
Your application setup is successfully completed!
npm start