Skip to content

Liideli/GymDiary-backend

Repository files navigation

GymDiary Backend

Welcome to GymDiary Backend! This repository contains the backend server implementation for GymDiary, a comprehensive fitness tracking application. GymDiary Backend is built using Node.js and GraphQL, providing a powerful and flexible platform for handling user authentication, workout logging, exercise logging, groups and more.

Technologies Used

  • Node.js: GymDiary Backend is powered by Node.js, offering a scalable and efficient runtime environment for building server-side applications.
  • GraphQL: GymDiary Backend utilizes GraphQL for defining a flexible and type-safe API, enabling clients to query and mutate data with ease.
  • Express.js: Express.js is used as the web server framework for GymDiary Backend, providing middleware and routing capabilities to handle incoming requests.
  • MongoDB: GymDiary Backend stores data in a MongoDB database, offering a NoSQL solution for storing user profiles, workouts, goals, and progress.
  • JWT Authentication: GymDiary Backend implements JSON Web Token (JWT) authentication for secure user authentication and authorization.
  • TypeScript: GymDiary Backend is written in TypeScript, providing static type checking and enhanced developer experience.

Getting Started

To get started with GymDiary Backend, follow these steps:

  1. Clone this repository to your local machine.
  2. Install dependencies by running npm install.
  3. Set up your MongoDB database and configure connection settings in the .env file.
  • NODE_ENV=development
  • PORT=3000
  • DATABASE_URL="your mongodb url"
  • JWT_SECRET="your jwt secret"
  1. Run the development server with npm run dev.

License

This project is licensed under the MIT License, which means you are free to use, modify, and distribute the code as you see fit.

Contact

If you have any questions or suggestions, feel free to reach out to me at roope.kasperi.laine@gmail.com.

About

This is the backend code for GymDiary.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published