d11z / asperitas

A simple reddit clone
https://asperitas.now.sh/
MIT License
494 stars 115 forks source link

asperitas

Asperitas is a full stack reddit clone that I wrote to learn more about Node.js, React, and NoSQL databases. The name asperitas comes from a type of cloud.

Installation

Prerequisites

  1. Clone this repository

  2. Install server dependencies

    $ cd server
    $ npm install
  3. Install client dependencies

    $ cd client
    $ npm install

Run the app

  1. Start mongodb locally
    $ mongod
  2. Start the server
    $ cd server
    $ npm start
  3. Start the client
    $ cd client
    $ npm start
  4. Browse to http://localhost:3000/

Testing

Server

Make sure mongodb is running before testing the server.

$ cd server
$ npm test

Client

$ cd client
$ npm test

License

This project is made available under the MIT License.