https://github.com/leandroberlin/usersdb
Node + Mongo + Mongoose + Express + Handlebars + Faker + Bootstrap
https://github.com/leandroberlin/usersdb
Last synced: 23 days ago
JSON representation
Node + Mongo + Mongoose + Express + Handlebars + Faker + Bootstrap
- Host: GitHub
- URL: https://github.com/leandroberlin/usersdb
- Owner: LeandroBerlin
- Created: 2019-08-06T09:08:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-14T08:03:38.000Z (over 6 years ago)
- Last Synced: 2025-03-12T17:16:52.331Z (10 months ago)
- Language: HTML
- Homepage: https://dbuser.leandro-berlin.now.sh
- Size: 264 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UsersDb
A web-application with Node, Mongodb, Mongoose, Express, Handlebars & Bootstrap

Live demo available on [Zeit](https://dbuser.leandro-berlin.now.sh)
## Setup & run
- Clone the repo
- You need a running instance of MongoDB
- `npm i`
- `npm run dev`
When you run the application for the first time it will seed the database with 10 random users created with [Faker](https://github.com/marak/Faker.js/)
## Npm Scripts
- `npm run dev` uses nodemon
- `npm start` uses node
## Features
- Database seeding
- Express with Handlebars/Bootstrap
- Users overview
- Single user infos
- Search by age greater than
- Insert & Modify users
- Delete user
- Zeit Now deployment configuration
## Deployment on Zeit
In order to deploy your app on [Zeit Now](https://zeit.co) you need to create a database reachable from the Internet first.
You can use the free service of [Mongo Atlas](https://www.mongodb.com/cloud/atlas). You'll also need to edit the mongose.connect() method in `controller/database` to use your Mongo Atlas credentials.
## To Do
- Authentication (JWT)