Have you ever had a secret you just couldn't keep to yourself anymore? Secret Keeper will let you share anonymously, as well as read secrets that have been shared by others.
- Node (8.0 and above)
- React Router
- Redux
- Redux Saga
- Reselect
- Styled Components
- MongoDB
- Jest
To install dependencies, first go to the root directory. Then run the command:
npm install
To start the server:
npm run start
This app uses MongoDB. Go to https://docs.mongodb.com/manual/administration/install-community/ to install the latest version on the appropriate operating system.
If it's your first time starting MongoDB, follow the instructions to create the default data directory (/data/db) and set permissions. To start up the database, run the following commands in separate terminal windows:
mongod
&
mongo
In the mongo shell, run the command:
use secretkeeper
This app uses Jest. Install Jest globally:
npm install jest -g
Run unit tests on the HomePage container by running the following command:
npm run test:secret