Giter VIP home page Giter VIP logo

instabook's Introduction

InstaBook

A simple social network example in Node.js for the HackYourFuture course.

Installation

To install and run the project, follow these steps:

  1. Clone the Git project off of GitHub:

git clone [email protected]:Mickael-van-der-Beek/instabook.git

  1. Browse to the project folder in your terminal

cd instabook

  1. Build the Docker image

docker-compose build node

  1. Start the Docker container

docker-compose up node

Every time you add a Node.js dependency, you'll need to rerun the step 3. and 4.

Technologies

For this project, the following technologies will be used:

Todo

User related CRUD tasks

  • users table
  • user(s) retrieval functions and database queries
  • user creation function and database query
  • user modification function and database query
  • user deletion function and database query

Post related CRUD tasks

  • posts table
  • post(s) retrieval functions and database queries
  • post creation function and database query
  • post modification function and database query
  • post deletion function and database query

Comment related CRUD tasks

  • comments table
  • comment(s) retrieval functions and database queries
  • comment creation function and database query
  • comment modification function and database query
  • comment deletion function and database query

Filtering, sorting and pagination

  • filter users by handle
  • filter posts by user
  • filter comments by post
  • sort users by id
  • sort posts by likes
  • sort comments by creation date
  • paginate users retrieval
  • paginate posts retrieval
  • paginate comments retrieval

Performance

  • Index user queries
  • Index post queries
  • Index comment queries

Security

  • Prevent SQL injections
  • Prevent race conditions

Adanced queries

  • aggregation queries
  • sub-queries and CTEs
  • LIKE and RegExp operators
  • array operators

instabook's People

Contributors

mickael-van-der-beek avatar tamarasashvili avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

idogrusoz

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.