Coder Social home page Coder Social logo

back-end-task-mongo's Introduction

Logo

Back-End Task

Create a node.js web service for a blogging app with a RESTful api that works with JSON data using express or nest as a framework and mongo or postgres as a database.

Blogging can involve many things so, to keep this simple, the main focus is on users and posts created by users. The structures for these entities are irrelevant as long as they're usable and aren't hard to understand, in other words, you can define users and posts however you want but make sure that it won't be too hard to understand how each of their properties contribute to form a blogging app that respects the requirements enumerated below. The same goes for endpoints.

Requirements:

  1. typescript
  2. RESTfull web service working with JSON data in node.js using nest/express and mongo/postgres
  3. two types of users: bloggers and admins
  4. authentication with name/email and password, with sign-up and sign-in for bloggers, but only sign-in for admins
  5. bloggers can create posts
  6. bloggers can update and remove their posts
  7. bloggers can publish and hide their posts
  8. bloggers can see their posts whether they're public or hidden
  9. bloggers can see posts of other bloggers as long as they're public
  10. admins can do everything bloggers can do
  11. admins can remove any public post

Good practices and readable code are very welcome.

If you think that something is missing, feel free to contact us.

back-end-task-mongo's People

Contributors

robyte-ctrl 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.