GithubHelp home page GithubHelp logo

frankly034 / secret-santa-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 183 KB

A Simple Restful API implemented with NestJs for a secret gift sharing application.

JavaScript 0.78% TypeScript 42.61% Shell 0.46% Handlebars 55.65% Dockerfile 0.50%
docker-compose handlebars-js mailer-service nestjs otp-services passport-local redis typescript

secret-santa-api's Introduction

README

Secret-Santa-API

This is an API that was built using NestJS. It is a Rest API and can perform all rest functions . Users can make requests to retrieve, create, edit or delete information.

Table of Contents

Features

  • There is a user table with authentication
  • THere is a groups table that contains a list of groups users can belong to
  • There is a pivot user-group table that connects users to groups

Concepts Employed

  • Associations
  • Authentication (cookie and jwt)
  • Foreign Keys
  • Validations (Pipes and Guards)
  • Emailing (nodemailer and @nestjs-modules/mailer)
  • Handlebars Email Templating
  • One time password (otp)

Built With

  • NestJs
  • Postgres
  • Redis
  • Docker

REQUIRED INSTALLATIONS

  • node
  • postgres
  • redis
  • docker (optional)

Installation of This Repository

Once you have installed the requiered packages shown on the Required Installations, proceed with the following steps

Clone the Repository,

your@pc:~$ git clone https://github.com/frankly034/secret-santa-api.git

Move to the downloaded folder

your@pc:~$ cd secret-santa-api

Install all packages

your@pc:~$ npm install

To test

your@pc:~$ npm test

Docker (alernative)

Ensure you have docker desktop installed

Clone the Repository,

your@pc:~$ git clone https://github.com/frankly034/secret-santa-api.git

Move to the downloaded folder

your@pc:~$ cd secret-santa-api

Run with docker-compose

your@pc:~$ docker-compose up

Future Improvements

  • ...

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Acknowledgements

secret-santa-api's People

Contributors

frankly034 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.