Skip to content

jovani-x/api-shopping-list

Repository files navigation

REST API for Shopping list

It's a backend part of the Shopping list application, responsible for handling requests and returning data from db.

It is under construction (there are no some tests, sending of an email-invitation to friend and service 'forget password')

API docs (Postman)

Features

  • users:
    • authentication and authorization
    • registration
  • cards:
    • create/get/update/delete/share/stop sharing
  • friends:
    • get/invite/delete
    • get a friend-request with ability to approve or decline it
  • sending fresh data (SSE)
  • multiple languages (for now: en and pl)
  • dockerizing of an app and db

Getting Started

docker docs

start:

docker compose up -d

stop:

docker compose down

Manual setup (without Docker)

Preparing MongoDB

installation

replication

Init dependencies

npm i

Run the development server

npm run start

Lint (eslint)

npm run lint

Format (prettier)

npm run format

Test and coverage

npm run test
npm run coverage

Technologies

  • nodejs (express)
  • typescript
  • mongoose (mongoDb)
  • i18next
  • vitest
  • docker

Roadmap

  • add tests
  • add sending of an email-invitation to friend
  • implement service 'forget password'

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors