51
GitHub - d11z/asperitas: A simple reddit clone
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
-
Clone this repository
-
Install server dependencies
$ cd server $ npm install
-
Install client dependencies
$ cd client $ npm install
Run the app
- Start mongodb locally
$ mongod
- Start the server
$ cd server $ npm start
- Start the client
$ cd client $ npm start
- 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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK