Git Product home page Git Product logo

meme-stream's Introduction

Index

About

this is MemeStream, a full stack web app created using node.js, express, react.js to facilitate crud operations on meme objects, this was created as a mini project submission at Crio Winter of Doing challenge.

Deployed Links

Backend

Frontend

Video

Usage

NOTE - API Collection directory contains the postman API collection for this project.

Backend

If you just want to do a simple local test run of the backend application, you can first

  • Clone the repository
  • Install dependencies by using the following commands.
  • In case of any issues remove package-lock.json
  • run:
$ npm install
  • create a .env file in root directory and assign the following environment variables NOTE: don't version control your .env file, make sure .env is added in .gitignore file
$ touch .env #in project 
$ echo "NODE_ENV=development" >> .env
$ echo "PORT=8082" >> .env
$ echo "MONGODB_URL=mongodb://127.0.0.1:27017/memeapp" >> .env
#if you want then use mongoimport appropriately to import sample data from data/ directory 
  • Finally run the application using
$ npm start

Frontend

If you just want to do a simple local test run of the frontend application, you can first

  • Install dependencies by using the following commands.
  • In case of any issues remove package-lock.json & retry
  • run:
$ cd frontend/
$ npm install
  • open frontend/src/ipConfig.json file and assign the ip as
{"ip": "127.0.0.1"}
  • Finally run the application in another terminal using :
$ npm start

File Structure

  • Below is the current file structure.
.
├── data
│   └── export_memeapp_memes.json
├── API Collection
├── frontend
│   ├── package.json
│   ├── package-lock.json
│   ├── public
│   │   ├── favicon.ico
│   │   ├── index.html
│   │   ├── manifest.json
│   │   └── robots.txt
│   ├── setup.sh
│   └── src
│       ├── App.css
│       ├── App.js
│       ├── App.test.js
│       ├── components
│       │   ├── AspectRatio.js
│       │   ├── Footer.js
│       │   ├── Home.js
│       │   ├── Meme.js
│       │   ├── MemeList.js
│       │   ├── SectionHeader.js
│       │   ├── Section.js
│       │   └── SubmitForm.js
│       ├── index.css
│       ├── index.js
│       ├── ipConfig.json
│       ├── reportWebVitals.js
│       └── setupTests.js
├── img
│   └── 1.png
├── package.json
├── package-lock.json
├── README.md
├── .env
└── src
    ├── app.js
    ├── config
    │   └── config.js
    ├── middleware
    │   └── middleware.js
    ├── models
    │   └── meme.model.js
    └── routes
        └── v1
            ├── index.js
            └── meme.route.js

13 directories, 35 files

Gallery


Screenshot for Inspect Elements with UI

Credit/Acknowledgment

meme-stream's People

Watchers

Mayank Singh avatar

meme-stream's Issues

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.