https://github.com/rdmello/first_express_app
Just another MEAN stack app
https://github.com/rdmello/first_express_app
Last synced: 7 months ago
JSON representation
Just another MEAN stack app
- Host: GitHub
- URL: https://github.com/rdmello/first_express_app
- Owner: rdmello
- Created: 2016-05-06T23:00:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-20T21:43:53.000Z (about 10 years ago)
- Last Synced: 2025-01-03T13:41:32.998Z (over 1 year ago)
- Language: JavaScript
- Size: 1.97 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# First Express App
A simple way for me to learn the MEAN stack. This currently includes an Express app running on a Node.js server with a remote MongoDB database (using Monk) and WebSockets support using Socket.io. User authentication is done locally using Passport.
Account creation, login, profile, chat, and logout have been implemented. The site is hosted on an https domain with Lets Encrypt certificates.
Todo:
1. Move from Monk to Mongoose for MongoDB integration. Use bcrypt or similar to encrypt passwords in database.
2. Remove Express-Sessions and store user session in database instead of memory.
3. Add Rooms for socket.io sessions
4. Replace Jade with handlebars or some better HTML preprocessor.
5. Sanitize form fields and inputs
6. Provide error messages on login/signup.
Cool things to try out:
1. Typescript
2. SCSS
2. Babel
Visit: https://rylan.coffee/first_express_app for the homepage. Also see /newUser to add a new user
Installation: Clone this repository, enter project directory and run npm install.
Usage: npm start in project directory