Skip to content

Back end of a custom tricount developped with NestJS framework

Notifications You must be signed in to change notification settings

Ithrandil/coffeeshareBE

Repository files navigation

Coffee Share

Coffee Share

Description

The whole purpose of this project is, as a new developper, to expand my knowledge and skills on development, front and back.

Use of Nest framework.

Front-end is done HERE with Angular for a Typescript full-stack.

Features already implemented:

  • Full CRUD of users with TypeORM
  • NestJs Interceptor using class-transformer transforming a UserEntity (DB) to a UserDto (at this time only password is removed)
  • Use of Swagger for the API
  • Already builted requests example via the postman collection shared on this repo
  • Security with JWT
  • Unit test with Jest (first implementation, not full coverage)

WIP:

  • Implementation of "friend entity" : definition of the entity and it's relation with the user one. It's implementation with it's own module, controller, service,...

Features previsions:

  • CI/CD with docker, Jenkins, ...
  • Good code practices, commented code,...
  • Use of environment variables, config files and a dedicated service
  • Using the full possibilities that are implemented in NestJS : custom decorators, pipes (for DTO to Entities for example), interceptors, guards(for security and administration),...

Long term features:

  • Possibility for users to add other users to their "friend list", they will have the possibility to share an expense balance page shared to track who must paid the coffee to whom next time. (Yes this is a tricount)
  • Map, geolocation and it's share
  • Sending notifications to other users ("I'm at Giluna's do you whant a babycinno?")
  • Save of your custom items for faster price adding to the balance
  • Call to others API (drinks api, food, ...)
  • ...

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

# access to the Swagger Doc
After starting the application, go to {URLApplication}/api
Example on development : http://localhost:3000/api/

Stay in touch

About

Back end of a custom tricount developped with NestJS framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published