Skip to content

primal-development/cursu-certare

Repository files navigation

Project logo

Cursu Certare

Status GitHub Issues GitHub Pull Requests License


A training diary with a strava implementation

📝 Table of Contents

🧐 About

Cursu Certare is a training diary application. It is web based. The application is still in early development ⚠️. The main feature of the application is that it implements the strava API and therefore automatically syncs the activities uploaded on strava to the application.

🏁 Getting Started

Docker

To run the project with docker compose: (First enter the correct values to .env, and check docker-compose.yml for the root-password)

docker compose up

Prerequisites

The project can easily be cloned and worked on. You need a few essential npm libraries.🔽

Node JS

NPM

NPM libraries

express
dotenv
body-parser
mysql
mariadb

Installing

Install Node JS - search in browser, download and install Install npm - search in browser, download and install Navigate to the project directory

npm install express
npm install dotenv
npm install body-parser
npm install mysql
npm install mariadb

Create a .env file where you enter the details of your own strava api --> CLIENT_ID and CLIENT_SECRET Edit the const redirectURL in index.html and enter your own url (also localhost) In app.js edit the host, user and password of your mariadb database (database files are coming soon)

Run the project

sudo node app.js

Open the browser

🔧 Running the tests

Explain how to run the automated tests for this system.

Break down into end to end tests

Explain what these tests test and why

Give an example

And coding style tests

Explain what these tests test and why

Give an example

🎈 Usage

Add notes about how to use the system.

🚀 Deployment

Add additional notes about how to deploy this on a live system.

⛏️ Built Using

✍️ Authors

See also the list of contributors who participated in this project.

🎉 Acknowledgements

  • Hat tip to anyone whose code was used
  • Inspiration
  • References

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •