Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/workout-lol/workout-lol

A simple way to create a workout plan
https://github.com/workout-lol/workout-lol

Last synced: 7 days ago
JSON representation

A simple way to create a workout plan

Awesome Lists containing this project

README

        



Workout.lol


The easiest way to create a workout routine



Contributors
Forks
Stars

Issues
Languages
Repository Size


## About

- A small web application to create workouts based on your available equipment and the muscles you want to train.

## Link

- You can self-host the project or use the web app on [workout.lol](https://workout.lol).

## Steps to run it locally

1. Clone the repository to your local machine

`git clone https://github.com/Vincenius/workout-lol.git`
2. Navigate to the app directory

`cd workout-lol`
3. Install the necessary dependencies

`yarn`
4. Initialize the Mongo DB by importing the dump files from `lib/dump/prod`:

4.1 For the .metadata.json, you'll have to do this :

`mongoimport --uri mongodb+srv://:@..mongodb.net/ --collection --type json --file `

4.2 For the .bson, you'll have to do this :
`mongorestore --uri mongodb+srv://:@..mongodb.net/ --collection `

5. copy the `.env.dist` file to `.env` and set environment variables as described in the file

6. Start the local development server

`npm run dev`
7. Open your browser to http://localhost:3000

## Steps to run it with docker
1. Clone the repository to your local machine

`git clone https://github.com/Vincenius/workout-lol.git`
2. Copy the `.env.docker` file to `.env` and set environment variables as described in the file (do not modify the `MONGODB_URI` if you wish to use the mongodb container)

3. Run the docker compose file at the root of the project

`docker compose -f docker/docker-compose.yml up -d --build`
4. Wait for the applications to be up (`docker ps` to get the status)

5. Open your browser to http://localhost:3000

## Contributors

[![wweb_dev](https://github-production-user-asset-6210df.s3.amazonaws.com/43953403/248202602-f81b0cf6-1394-4ab8-8ddf-4352bd8dbe7d.jpg)](https://twitter.com/wweb_dev)
[![BradiceanuM](https://github-production-user-asset-6210df.s3.amazonaws.com/43953403/248202501-4d5ae3c3-b83b-4a2c-b7e2-0e38705f5487.jpg)](https://twitter.com/BradiceanuM)
[![ngthuongdoan](https://github-production-user-asset-6210df.s3.amazonaws.com/43953403/251365548-f713917f-93f9-416b-af75-24bfed8dd2f5.jpg)](https://github.com/ngthuongdoan)
[![pgossa](https://github-production-user-asset-6210df.s3.amazonaws.com/43953403/253865352-2b599778-295d-4703-8a5e-10d14fce042e.png)](https://github.com/pgossa)

## Supporters

| [![medecau](https://github-production-user-asset-6210df.s3.amazonaws.com/43953403/252555917-a6ef8d46-c9ec-46c9-9fff-bdbf3653ddaa.png)](https://ko-fi.com/C1C7RPVB) | [![EL](https://github-production-user-asset-6210df.s3.amazonaws.com/43953403/252555938-e0cd7e03-27da-4b10-8e68-e1060dd05e02.jpg)](https://ko-fi.com/S6S3169OG) | ![alvaro](https://github.com/Vincenius/workout-lol/assets/43953403/f476691e-3739-4a22-8692-a9b33a92a94a) | [![devjev](https://github-production-user-asset-6210df.s3.amazonaws.com/43953403/252653717-455dc7f8-e5c7-448d-835e-f87c27f0423c.png)](https://github.com/devjev) |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| medecauΒ  | EL | alvaro | devjev |

Become a supporter by donating on Ko-Fi:

[https://ko-fi.com/workout_lol](https://ko-fi.com/workout_lol)

## Public Metrics

πŸ’Έ [Cost Breakdown](https://docs.google.com/spreadsheets/d/1BeSvsyMg2c1Fz7RAyO2AC3g_12JAGNLaepGFbN_aYOo/edit#gid=0)

πŸ“ˆ [Analytics](https://analytics.vincentwill.com/share/js1wXvxU/Workout.lol)

## License

[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)