Skip to content

naum-d/space-pizza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API

To run this project on your machine you should have installed:

node.js npm yarn mongoDB

Run back-end

  1. Add .env in the root of ./back directory with:
PORT=8000
MONGO_DB=mongodb://localhost:27017/space-pizza
JWT_SIGNATURE=PassWord
  1. Open the terminal with start point in the root of app and type cd ./back
  2. Type yarn install
  3. Then yarn run sturt
  4. To populate DB type yarn run seed
  5. To make build, type yarn run build
  6. To run build node ./dist/bundle.js

Run front-end

  1. Add .env in the root of ./front directory with:
NODE_ENV=dev
REACT_APP_API_SERVER=http://localhost:8000
  1. Open the terminal with start point in the root of app and type cd ./front
  2. Type yarn install
  3. Then yarn run sturt
  4. To make build, type yarn run build
  5. The build of front-end placed into ./build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages