Skip to content

A bulk purchase web-app built using the MERN stack

Notifications You must be signed in to change notification settings

SachinKumar105/PoolKart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Bulk Ordering App

Setup

Node

For Linux:

curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs

For Mac:

brew install node

For installing bcrypt

npm install bcrypt

MongoDB

Install the community edition here.

React

npm install -g create-react-app

To create a new React app:

create-react-app name_of_app

To run the app, cd into the directory and do:

npm start

Running the boilerplate

Run Mongo daemon:

sudo mongod

Mongo will be running on port 27017.

To create a database:

mongo

This will open the mongo shell. Type in use users to create a new database called users.

Run Express:

cd backend/
npm install
npm start

Run React:

cd frontend
npm install/
npm start

Navigate to localhost:3000/ in your browser.

About

A bulk purchase web-app built using the MERN stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published