Hi, welcome to my repository here you can find my source code for my dating app feature! I will be making a register and login feature. My feature will be programmed in node js.
# git clone
git clone https://github.com/RowinRuizendaal/project-tech.git
# Cd into project
cd project-tech
# Install dependencies
npm install
# serve with hot reload at localhost:3000
Nodemon index.js || npx nodemon index.js
To run this project you will need my .env file, to get this either message me on one of the options below or fill in my github issue template
Email: rowin.ruizendaal@hva.nl
Contact me on cmd tech slack: Slack
Fill in github issue template: Github Issue
For a detailed explanation on my research please feel free to visit my wiki wiki
Static website Static website
- Connection with database
- User registration
- User login
- User sessions
- User Dashboard with data
- Error messages feedback
- Update account information
- Delete account
Tables | type | value |
---|---|---|
_id | primary key | auto-increment |
username | string | Rowin |
string | rowin_ruizendaal@gmail.com | |
password | string | secret |
picture | string | stock.png |
age | integer | 48 |
location | string | Amsterdam |
Argument passed in must be a string of 24 hex characters - I think it is. (2015, May 5). Retrieved May 31, 2020, from https://stackoverflow.com/questions/30051236/argument-passed-in-must-be-a-string-of-24-hex-characters-i-think-it-is
Ben Awad. (2018, May 9). Express Session for Login - Part 15. Retrieved May 30, 2020, from https://www.youtube.com/watch?v=PNuRpf3p_vA
Code Groomer. (2020, January 30). 8. NodeJS, ExpressJS and EJS : Show success and error message using expressjs flash message. Retrieved May 30, 2020, from https://www.youtube.com/watch?v=xVQZAcb_CrE
de Vries, D. (2019, November 30). cmda-bt/be-course-19-20. Retrieved May 30, 2020, from https://github.com/cmda-bt/be-course-19-20/tree/master/examples
Express. (n.d.). Express - Node.js web application framework. Retrieved May 30, 2020, from https://expressjs.com/
express. (2013, July 14). npm: express-flash. Retrieved May 30, 2020, from https://www.npmjs.com/package/express-flash
Flash Message from ejs in Express 4. (2016, September 7). Retrieved May 30, 2020, from https://stackoverflow.com/questions/39370793/flash-message-from-ejs-in-express-4
Flash messaging in Express 4: express-flash vs. custom middleware in ejs, handlebars, or jade. (n.d.). Retrieved May 30, 2020, from https://gist.github.com/brianmacarthur/a4e3e0093d368aa8e423
How to end a session in ExpressJS. (2011, April 6). Retrieved May 31, 2020, from https://stackoverflow.com/questions/5573256/how-to-end-a-session-in-expressjs
How to pass session into views in Node/Express? (2012, December 30). Retrieved May 31, 2020, from https://stackoverflow.com/questions/14087125/how-to-pass-session-into-views-in-node-express
How to send flash messages in Express 4.0? (2014, April 18). Retrieved May 30, 2020, from https://stackoverflow.com/questions/23160743/how-to-send-flash-messages-in-express-4-0
Junior Developer Central. (2019a, July 1). NodeJS Essentials 33: Express Sessions. Retrieved May 30, 2020, from https://www.youtube.com/watch?v=hKYjSgyCd60
Junior Developer Central. (2019b, July 9). NodeJS Essentials 38: Flash Messages. Retrieved May 30, 2020, from https://www.youtube.com/watch?v=BX-SmHfM1M8
Mongodb. (n.d.). MongoDB Node.js Driver. Retrieved May 30, 2020, from https://docs.mongodb.com/drivers/node
mongodb. (n.d.). Queries — MongoDB Node.JS Driver 1.4.9 documentation. Retrieved May 30, 2020, from https://mongodb.github.io/node-mongodb-native/markdown-docs/queries.html
Mongodb not updating. (2018, February 14). Retrieved May 31, 2020, from https://stackoverflow.com/questions/48789321/mongodb-not-updating
Node - connect-flash not working on redirect. (2017, January 9). Retrieved May 30, 2020, from https://stackoverflow.com/questions/41558884/node-connect-flash-not-working-on-redirect
Node.js MongoDB Update. (n.d.). Retrieved May 31, 2020, from https://www.w3schools.com/nodejs/nodejs_mongodb_update.asp
npm: body-parser. (2019, April 26). Retrieved May 30, 2020, from https://www.npmjs.com/package/body-parser
npm: cookie-parser. (2020, March 15). Retrieved May 30, 2020, from https://www.npmjs.com/package/cookie-parser
npm: dotenv. (2019, October 16). Retrieved May 30, 2020, from https://www.npmjs.com/package/dotenv
npm: express-session. (2020, April 17). Retrieved May 30, 2020, from https://www.npmjs.com/package/express-session
UIT Startup Immersion. (2017, February 15). Sessions and Node.js with Express. Retrieved May 30, 2020, from https://www.youtube.com/watch?v=aT98NMdAXyk
Update Documents — MongoDB Manual. (n.d.). Retrieved May 31, 2020, from https://docs.mongodb.com/manual/tutorial/update-documents/