Skip to content

iamtrk/fitness-fantasy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fitness-fantasy

This is simple application developed in Node.js + Express + Mongoose + MongoDB If you want to run it in your machine download the json files from links and import into your MongoDB.

Import following json files into jsonFoods database and foods collections.

https://s3-ap-northeast-1.amazonaws.com/ravikumar-ste/onefood.json https://s3-ap-northeast-1.amazonaws.com/ravikumar-ste/twofood.json Use --jsonArray arguement while importing using command line tool mongoimport

Ex: mongoimport -d jsonFoods -c foods < "Path to the json file without quotes" --jsonArray. After deploying go to '/random' URI.

Going through the code you can understand how to wire Node.js and MongoDB through mongoose, and using Express web framework with Node.js

Application is currently deployed at http://54.148.142.147:8080/random

About

Simple app built on Node.JS , MongoDB , Mongoose & Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors