Andela JavaScript Curriculum Checkpoint 4 - Document Manager.
This is a simple web application that allows users to create accounts
and manage simple documents.
Document
here is used with a grain of salt to mean any kind
of object with a string title and a string body content.
It allows users to register and create such kinds of documents. Users can assign access permissions to documents, which will restrict that document's audience.
You can find this project hosted on Heroku at https://docman-cp4-staging.herokuapp.com
Alternatively, you can run it locally as follows:
First, make sure you have NodeJS and MongoDB installed, then:
- Clone this repository
$ git clone https://github.com/andela-jmuturi/docman-react-redux.git && cd docman-react-redux
- Install the project's dependencies
$ npm install
- Ensure you have a
SECRET_KEY
set in your environment by exporting one. Alternatively, you can create an environment file that will be read by the project everytime it starts up by running:$ echo "SECRET_KEY=yoursecretkeyhere" >> .env
Replace "yoursecretkeyhere" with any random string.
- Run the development server
$ npm run start:dev
The server will run at http://localhost:8000
You can run tests by ensuring you have the project set up then running:
$ npm test
This web application is made using NodeJS, MongoDB, SocketIO and ReactJS with Redux and ImmutableJS.