Giter Club home page Giter Club logo

meme-stream's Introduction

Tech Stack


Here Node.js and express is used for backed and mongoDB is used for database. ejs is used as template engine. mongoose is used as ODM here.

index.js


This file is the invoking file of the web app, it contains the methods for all the requests and it communicates with other files by calling them using require(); function. It contains all the middlewares. It renders the frontend content ap per the api called. and contains exact API implementation for assessment.

AppError.js


This file contains the AppError class for error handeling which will be called into index.js class.

post.js


It contains The schema defined for the model we are using for data storage.

Frontend


All the files inside views folder and public folder. views folder contains the html part which is embedded with "ejs" template engine. "index.ejs" file is the home page, "posts.ejs" file will be rendered as the latest 100 posts. "show.ejs" will rendere a particular post using it's id. "edit.ejs" contains editing form for editing a particular post. "styles.css" file contains all the css code for all the four templates.

package.json


It contains all the scripts which will be executed as npm commands. It also contains all the dependencies which needs to be installed.

assessment code


"install.sh", "server_run.sh", "sleep.sh" contains the scripts required for assessment.

meme-stream's People

Contributors

jay-patel-257 avatar

Stargazers

 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.