Skip to content

kunal2899/bs-app-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Selling App

This project is the back-end part of app. For front-end part, please refer to bs-app-ui repository.
🚀 Live on https://book-selling-app.herokuapp.com

Requirements

You only need Node.js, git and a node global package installed in your environment for development.

Git installation

Download the installer package from here.

Node installation

Windows

Simply download the installer package from the official Node.js website.
As npm might require it, make sure git is accessible in your PATH.

Linux

Run the following commands on your terminal to quickly and easily install nodejs and npm with apt install

  $ sudo apt install nodejs
  $ sudo apt install npm

Other operating systems

On the official Node.js and NPM websites, you can get more details regarding the installation process for other operating systems.

You should be able to run the following commands on your terminal if the installation went well.

$ node --version
v14.15.0

$ npm --version
6.14.8

In case you need to update npm, you can make it by running the following command on your terminal

$ npm install npm -g

Setup

Cloning github repository

$ git clone https://github.com/kunal2899/bs-app-api
$ cd bs-app-api

Install packages

$ npm install

Configure your app environment

Create .env file in your root folder and update with your local settings.

PORT = YOUR_PORT_NUMBER (default is 8080)

Run the project

$ npm start