Skip to content

minusInfinite/workout-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workout Tracker

A workout tracker with a mongo server

Demo: https://minusinfinite-wt-demo.herokuapp.com/

Contents

Local Deployment

Examples

Local Deployment

This Application uses MongoDB as it's database and Mongoose JS as the Objection Document Model for providing schema models and queries.

Be sure to have MongoDB setup an running before you download.

Download

In your terminal download the repo

git clone https://github.com/minusInfinite/workout-tracker.git

Once downloaded install the dependencies with NPM

npm install

If you local MongoDB has Authentication setup it might be easier to confirm a Node Environment Parameter. You edit the .env.EXAMPLE file to .env with the following

MONGODB_URI - _The database connection URL string*

You can find more details about MongoDB connection strings here - https://docs.mongodb.com/manual/reference/connection-string/

Once you .env is setup you should be able to run the server

npm start

Or for development

npm run watch

There is an example data set on file you can use for tested

Populate the database with the follow script.

npm run seed

You can edit the dataset in seeder/seed.js

Example

Live Demo

Animated Demo GIF

About

a workout tracker with a mongo server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors