GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - julianoalvescode/gym-api-node: API for Gyms, built in Node.js

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
prisma
prisma
 
 
src
src
 
 
tests/use-cases
tests/use-cases
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 
yarn-error.log
yarn-error.log
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

App

GymPass API built Node.JS

Technologies

  • 👨‍💻 TypeScript
  • ⚙️ Fastify
  • 🚀 Vite, Vitest
  • 👁️ BCrypt, JWT
  • 💽 Prisma ORM, PostgreSQL
  • 💽 Github Actions

Functional Requirements

  • Users must be able to register
  • Users must be able to authenticate;
  • Users must be able to retrieve the profile of a logged-in user
  • Users must be able to retrieve the number of check-ins performed by the logged-in user;
  • Users must be able to retrieve their check-in history
  • Users must be able to search for nearby gyms (10km)
  • Users must be able to search for gyms by name
  • Users must be able to check-in at a gym;
  • Users must be able to validate their check-in;
  • Gyms must be able to be registered

Business Rules

  • Users must not be able to register with a duplicate email
  • Users cannot perform 2 check-ins on the same day;
  • Users cannot check-in if they are not near (100m) the gym;
  • Check-ins can only be validated up to 20 minutes after creation;
  • Check-ins can only be validated by administrators
  • Gyms can only be registered by administrators;

Non-Functional Requirements

  • User passwords need to be encrypted
  • Application data must be persisted in a PostgreSQL database
  • All data lists must be paginated with 20 items per page
  • Users must be identified by a JWT (JSON Web Token)

About

API for Gyms, built in Node.js

Topics

bscryptjsdockerdocker-composefastifypostgresprettierprisma-ormtypescriptunits-testingvitest

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.