Giter Site home page Giter Site logo

wellnessz's Introduction

Title

WellnessZ Assignment - Nodejs Task

Objective

To make a Rest API using Nodejs + SQL

Tech Stack

Used Nodejs, SQL, express.js

Completion Instructions

Functionality

Must Have

* Make a model of Posts (with fields: title, desc, tag, image...)
* Create an endpoint to get all posts and it should be configured with the following options:
  • An Option to sort, and paginate the data
  • An Option keyword that filters the posts that contains that keyword either in the title or description
  • An Option Tag that gives us the posts associated with that particular tag.
* Create an endpoint that Inserts a POST in the posts collection.
  • Upload the image to cloud services (AWS S3, Cloudinary or others...)

Good to Have

* If possible, deploy the solution into production.  
* The code should be clean and maintainable.
* Share the POSTMAN collection of the same with examples attached to each api(s)

Submission Instructions

Must Have

* Host the code on a GitHub repository.
* Deploy the application on a free hosting service like Railways, onrender.

Resources

APIs

/posts

Third-party packages

sequelize, cloudinary

Setup Instructions

 * run npm install to install the dependencies
 * run node index.js to start the server

wellnessz's People

Contributors

thenethi 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.