Skip to content

tungduonghgg123/vib-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vib-backend

A backend server using graphql, nodejs, express and mongodb Before start, please make sure you have mongodb installed (https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/)

  1. Clone repository
git clone https://github.com/tungduonghgg123/vib-backend
  1. cd into project directory
cd vib-backend
  1. Start mongoDB server. If success, you should see the url of the database in the terminal. Then, copy that to url field in src/mongoDB/constants
mongo

3.1. Create database and collection:

node src/mongoDB/create_db.js
node src/mongoDB/create_collection.js
  1. Start the server
npm start
  1. If success, copy http://localhost:4000/graphql to vib-hackathon repo src/model/index.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published