Giter Club home page Giter Club logo

flare-node's Introduction

FlareNode

Nodejs has become one of the most popular server-side frameworks for web developers. With its easy-to-use architecture and high-performance capabilities, developers are able to build efficient and scalable applications.

As a curious developer, I have decided to create my own NodeJS framework inspired by the likes of NestJS. This framework seeks to provide a seamless experience for developers by simplifying commonly-tedious tasks and providing pre-built tools, ultimately allowing developers to be more productive and efficient.

Through this experiment, I seek to gain a deeper understanding of how frameworks like NestJS are built, and to explore new possibilities in the world of NodeJS web development.

Features

  • Dependency Injection
  • Middleware Support
  • Modular Architecture
  • Routing
  • Exception Handling
  • And much more!

Setup

Clone the repository first, and then run npm i to install the dependencies.

Then create a copy of .env.example file using this command: cp .env.example .env.

Now you need to update the .env file and then run npm start to launch the app.

Pre-built Endpoints

User Registration

curl -X POST http://localhost:3000/auth/register \
  -d '{"email": "[email protected]", "fullname": "John Doe", "password": "secret1234"}' \
  -H "Content-Type: application/json"

User Login

curl -v -X POST http://localhost:3000/auth/login \
  -d '{"email": "[email protected]", "password": "secret1234"}' \
  -H "Content-Type: application/json"

Email Verification

curl -v -X POST http://localhost:3000/auth/send-verification-email \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>"

flare-node's People

Contributors

webdevi910 avatar

Watchers

 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.