Disputandum is a full stack application, inspired by Reddit, that I wrote to learn more about Node.js, React, and NoSQL databases. The name disputandum comes from the Latin and means debate).
Application uses MongoDB to store its data, and Mongoose for its asynchronous communication between the application and the database. For testing I use the Enzyme package.
The application also uses reducers along with Redux to manage state in the app. In the UI the app is based off styled components to keep thing a bit tidier and easier to debug and develop further.
- node
- npm
- mongodb
-
Clone this repository
-
Install server dependencies
$ cd server $ npm install
-
Install client dependencies
$ cd client $ npm install
- Start mongodb locally
$ mongod
- Start the server
$ cd server $ npm start
- Start the client
$ cd client $ npm start
- Browse to
http://localhost:3000/
Make sure mongodb is running before testing the server.
$ cd server
$ npm test
$ cd client
$ npm test
This project is made available under the MIT License. Feel to do anything with it :)