Git Product home page Git Product logo

skeleton-express's Introduction

Rviewer skeleton: Express

Twitter

Rviewer Discord

This repository is a Backend Javascript & Typescript skeleton with Express, designed for quickly getting started developing an API. Check the Getting Started for full details.

Technologies

Getting Started

Within the Makefile you can handle the entire flow to get everything up & running:

  1. Install make on your computer, if you do not already have it.
  2. Install the Yarn dependencies: make deps
  3. Start the application: make up

As you could see on the Makefile script, you could just avoid those steps and just execute make up, as deps are dependant of it.

Once these steps are finished, you could access to the application navigating into http://localhost:8000/ping.

Overview

This skeleton is based on a Clean Architecture approach, so you could find the first basic elements:

You could find here an amazing article explaining this Clean Architecture with Node.js! (credits to @bazaglia).

Controllers layer

This folder contains the basic routes to expose in your API. You could add here as much HTTP routes as you need.

Domain layer

This layer is the one in charge of the different use cases of the application. A Use Case it's a workflow of what should it happen to a concrete Domain entity once interacts with the application.

This is the layer which would use any external service and communicate with the world (ie. APIs, databases, etc...)

Domain layer

Any of your domain Entities that models your business logic. These classes should be completely isolated of any external dependency or framework.

Support

If you are having problems or need anything else, please let us know by raising a new issue.

License

This project is licensed with the MIT license.


Made with ❤️ by Rviewer

skeleton-express's People

Contributors

rviewer-team avatar mgomez-getwith avatar albertromera 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.