51

GitHub - d11z/asperitas: A simple reddit clone

 5 years ago
source link: https://github.com/d11z/asperitas
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK