Base is a little contact app project with authentication.
In order to run the app, you will need to first install Mongoose. You can get that here Mongoose
- Clone the repoQuick note: You'll notice this project uses Yarn for dependency management. To add Yarn, head over to https://yarnpkg.com/en/ to install it. Otherwise, instead of Yarn, just use npm. Ex:
yarn install
would be the same asnpm install
.
- Install packages (yarn install) - mongoose (start by running mongod)
- yarn run bundle
- yarn start - Once started, go ahead and signup for an account. Once signed up go ahead and login, click the contact list link, and add yourself some contacts items. http://localhost:3000/
- Show all databases: show databases
- Show current database: db
- Select a database: use db_name -> ex. use users
- Read items in collection: db.db_name.find() -> ex. db.users.find()