Skip to content

d11z/asperitas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • node
  • npm
  • mongodb
  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.