Giter Site home page Giter Site logo

malagant / reddit-like-site Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tamalchowdhury/reddit-like-site

0.0 1.0 0.0 474 KB

A simple reddit like site built using node and react

Home Page: https://reddit-like-site.herokuapp.com/

JavaScript 96.88% HTML 1.54% CSS 1.58%

reddit-like-site's Introduction

Simple Reddit Site

Heroku link: https://reddit-like-site.herokuapp.com/

Installation

Use npm run client-install to install client dependecies. Use npm install to install server dependecies.

You will need to rename sample.env file to just .env and supply your own mongodb driver url to work with the database.

To start the server, run npm run dev or yarn run dev

Notes after deploying to Heroku

I deployed a branch of this code into Heroku. After deploying and setting up the env variables, the site was showing Not Found error. I realized that the /build/ folder was being ignored in .gitignore. So after pushing it to the repo, it now works fine.

To Do

  • Add option to display the text body under the posts
  • Allow comments
  • Allow only one upvote/downvote per user
  • Add option to load more posts

Improvements from Next Projects

  • Use git version control and branches to streamline development
  • Write more documentation
  • Seperate the API calls into different components, so the codebase will become more mangable.

reddit-like-site's People

Contributors

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