Coder Social home page Coder Social logo

qhantom / express-mongo-typescript-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 1.0 1.23 MB

A production-ready boilerplate based on Node.js, Express and MongoDB (using Mongoose ODM) written in TypeScript. It gets you up and running very fast to quickly build RESTful APIs.

License: MIT License

Shell 0.21% Dockerfile 1.94% TypeScript 96.26% HTML 1.59%

express-mongo-typescript-boilerplate's People

Contributors

qhantom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

acamara2016

express-mongo-typescript-boilerplate's Issues

SSL / TLS Support

For people who do not put a reverse proxy in front of their app, it's useful to implement SSL / TLS support.

Default user

How do I get started initially? I would need an admin user account to start creating users in the first place. From what I saw, no default user is created, is it? It would be helpful to either have a fixed default user account (like admin:admin) and document it accordingly or even make it configurable.

More fine-grained permissions / ownership concept

It might be helpful to either introduce some notion of "owning" an entity or make rights more fine-grained.

For instance, to access the GET /v1/users/:id endpoint, a user requires the USER_READ right. However, this only distinguishes between being able to either read all users or none at all. Instead, it might be useful to be able to access that endpoint (same for DELETE, PUT, ...) for oneself only, but not for others, i.e. read, edit, delete, ... my own account only.

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.