Home

Awesome

<div align="center"> <img src="https://github.com/Vincenius/workout-lol/blob/main/public/logo.png?raw=true" width=25% height=25% /> <h1>Workout.lol</h1> <h3><em>The easiest way to create a workout routine</em></h3> <p> <img src="https://img.shields.io/github/contributors/Vincenius/workout-lol?style=plastic" alt="Contributors"> <img src="https://img.shields.io/github/forks/Vincenius/workout-lol" alt="Forks"> <img src="https://img.shields.io/github/stars/Vincenius/workout-lol" alt="Stars"> <!-- <img src="https://img.shields.io/github/license/Vincenius/workout-lol" alt="Licence"> --> <img src="https://img.shields.io/github/issues/Vincenius/workout-lol" alt="Issues"> <img src="https://img.shields.io/github/languages/count/Vincenius/workout-lol" alt="Languages"> <img src="https://img.shields.io/github/repo-size/Vincenius/workout-lol" alt="Repository Size"> </p> </div>

About

Link

Steps to run it locally

  1. Clone the repository to your local machine <br> git clone https://github.com/Vincenius/workout-lol.git

  2. Navigate to the app directory <br> cd workout-lol

  3. Install the necessary dependencies <br> yarn

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

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

    mongoimport --uri mongodb+srv://<USERNAME>:<PASSWORD>@<CLUSTER_NUMBER>.<URI>.mongodb.net/<DATABASE> --collection <COLLECTION> --type json --file <FILEPATH>

    4.2 For the <COLLECTION>.bson, you'll have to do this : mongorestore --uri mongodb+srv://<USERNAME>:<PASSWORD>@<CLUSTER_NUMBER>.<URI>.mongodb.net/<DATABASE> --collection <COLLECTION> <FILEPATH>

  5. copy the .env.dist file to .env and set environment variables as described in the file<br>

  6. Start the local development server <br> 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 <br> 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) <br>
  3. Run the docker compose file at the root of the project <br> docker compose -f docker/docker-compose.yml up -d --build
  4. Wait for the applications to be up (docker ps to get the status) <br>
  5. Open your browser to http://localhost:3000

Contributors

wweb_dev BradiceanuM ngthuongdoan pgossa

Supporters

medecauELalvarodevjev
medecau ELalvarodevjev

Become a supporter by donating on Ko-Fi:

https://ko-fi.com/workout_lol

Public Metrics

💸 Cost Breakdown

📈 Analytics

License

MIT License