Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d11z/asperitas
A simple reddit clone
https://github.com/d11z/asperitas
Last synced: 4 months ago
JSON representation
A simple reddit clone
- Host: GitHub
- URL: https://github.com/d11z/asperitas
- Owner: d11z
- License: mit
- Created: 2018-11-03T22:13:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T18:48:27.000Z (almost 2 years ago)
- Last Synced: 2024-06-22T16:58:45.810Z (6 months ago)
- Language: JavaScript
- Homepage: https://asperitas.now.sh/
- Size: 2.19 MB
- Stars: 494
- Watchers: 26
- Forks: 115
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://en.wikipedia.org/wiki/Asperitas_(cloud)).
## Installation
### Prerequisites
* node
* npm
* mongodb1. Clone this repository
2. Install server dependencies
```bash
$ cd server
$ npm install
```
3. Install client dependencies
```bash
$ cd client
$ npm install
```## Run the app
1. Start mongodb locally
```bash
$ mongod
```
2. Start the server
```bash
$ cd server
$ npm start
```
3. Start the client
```bash
$ cd client
$ npm start
```
4. Browse to `http://localhost:3000/`## Testing
### Server
Make sure mongodb is running before testing the server.
```bash
$ cd server
$ npm test
```### Client
```bash
$ cd client
$ npm test
```## License
This project is made available under the **MIT License**.