The web app & server is deployed here: https://gleaming-daifuku-5def17.netlify.app/
This project was done in the course DH2643 Advanced Interaction Programming (7.5Hp). The goal of the project was to create a web application that uses a backend API and a frontend client. The application should be able to create, read, update and delete data from the backend API. The application should also be able to handle user authentication and authorization. The application should be responsive and work on both mobile and desktop.
The website is a gym-app application where users can track their progress, and their workouts, create workout plans, get inspiration from over 1300+ exercises from an API and much more. The application is built with React and uses a backend API built with Node.js and Express.js. The application uses a Schema database (MongoDB) to store data on the server. The application is responsive and works on both mobile and desktop (although it is not optimized for mobile).
- React
- Node.js
- Express.js
- MongoDB (Specifically Moongoose)
This section describes how to run the application:
- Clone the repository
- Run
npm install
in frontend folder - Run
npm install
in backend folder cd backend
and runnode server.js
cd frontend
and runnpm start
- https://hub.docker.com/repository/docker/rakinali/fitness-project/general
- Pull the containers from docker
- Run both of them at the same time
- Start the app, open localhost:3000
In the case that you want to create the images yourself then there's a docker-compose.yml file in the root directory which you could use.
- docker-compose up
- Localhost:3000
The Google grading template has been sent in Canvas. We were aiming for a C due to all of us having a lot of other courses in parallel. The final grade became a B with 90 points collected!
https://docs.google.com/presentation/d/1qhnhDeCZBnA7_4QMujJmt4iGFCCg8lkphMHKV_GBGS0/edit?usp=sharing