This is my first selfmade website using NodeJS with Express. The website is functional, but not ready for live use. Many things are not coded nicely, please keep this in mind when using this project.
To use this project, you will have to copy the whole project to your disk, edit the project settings, start up an MySQL server and run main.js in NodeJS.
Here are all the required software to run this project: (You can find download links in the Built With section)
A MySQL server (You can use software like XAMPP or MAMP)
NodeJS
Also you will need the following NodeJS packages:
mysql
http
express
path
express-handlebars
express-session
body-parser
crypto
request
express-fileupload
fs
To use this project you will have to follow these steps:
- Install NodeJS
- Install all the required node packages
- Install a MySQL server
- Set up the MySQL database
- Edit the project settings inside main.js (Database options etc.)
- Start the nodejs server by using "node main.js"
By following these steps, the project will be ready to use.
You can login into the admin account by using the username admin and the password Admin.
- NodeJS - The language used for this project
- Express - The framework used for this project
- Bodyparser - Package used for body parsing
- Express-Fileupload - Package for handling file uploads
- Express-Session - Package for handling sessions
- Express-MySQL-Session - Package for saving sessions
- Express-Handlebars - Package for website templates
- LeonMrBonnie - Everything - LeonMrBonnie
This project is completely open-source and you are free to use the code however you want.