https://github.com/minusinfinite/workout-tracker
a workout tracker with a mongo server
https://github.com/minusinfinite/workout-tracker
Last synced: about 1 year ago
JSON representation
a workout tracker with a mongo server
- Host: GitHub
- URL: https://github.com/minusinfinite/workout-tracker
- Owner: minusInfinite
- Created: 2021-10-08T23:40:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-19T08:12:50.000Z (over 4 years ago)
- Last Synced: 2025-02-06T22:30:10.194Z (over 1 year ago)
- Language: JavaScript
- Size: 619 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Workout Tracker
A workout tracker with a mongo server
Demo:
## Contents
[Local Deployment](#local-deployment)
[Examples](#examples)
## Local Deployment
This Application uses [MongoDB](https://www.mongodb.com/) as it's database and
[Mongoose JS](https://mongoosejs.com/) 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
```terminal
git clone https://github.com/minusInfinite/workout-tracker.git
```
Once downloaded install the dependencies with NPM
```terminal
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
```terminal
npm start
```
Or for development
```terminal
npm run watch
```
There is an example data set on file you can use for tested
Populate the database with the follow script.
```terminal
npm run seed
```
You can edit the dataset in seeder/seed.js
## Example
[Live Demo](https://minusinfinite-wt-demo.herokuapp.com/)
