Skip to content

Gym style app build using design patterns and applying solid principles

License

Notifications You must be signed in to change notification settings

ArthurPMachado/gym-style-app

Repository files navigation

Gym style app

A Node app to bind users to gyms and validate their check-ins

The idea behind the project is to connect users to close gyms in their proximity, with a similar approach to what apps like GymPass does, which get closer gyms and register their check-in.

It's also a part of my personal portfolio, which I use to explore E2E tests, SOLID principles and some of other design patterns, like: Repository, Factory and In Memory Database

Technologies used

  • NodeJS
  • Fastify
  • Prisma
  • Docker
  • PostgreSQL
  • JWT
  • Vitest
  • Zod

Getting Started

Prerequisites

To run this project, it's necessary to prepare your environment, which means:

  1. Install NodeJS 16+ - https://nodejs.org/en
  2. Download and install Docker - https://www.docker.com/products/docker-desktop/

Installing

Cloning the Repository

$ git clone https://github.com/ArthurPMachado/solid-node.git

$ cd solid-node

Installing dependencies

$ npm i

Running Project

$ npm run dev

or

$ npm run prod

To run prod, is necessary to build first using:

$ npm run build

Running Tests

Unit tests

$ npm run test

⚠️ DO NOT FORGET TO CREATE A .ENV FILE, OTHERWISE THE PROJECT WILL NOT WORK

Author

👤 Arthur Machado

Show your support

Give a ⭐️ if this project helped you!

About

Gym style app build using design patterns and applying solid principles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published