This project is my first attempt at creating fullstack website using ExpressJS and EJS with a bit of MySQL. I was only at my first semester college, so pardon for the crappy code :P
A simple manga reader website based on Express JS and MySQL.
- Add Manga, Chapter, Tags/Genres
- All pictures stored in Imgbox
- Token-based admin registration
Git Clone this repo using commands below :
git clone https://github.com/Faralha/Alterkai-Website.git
To run the Express server, simply type npm run devStart
(case sensitive)
Create database in mysql using CREATE DATABASE
and use it.
CREATE DATABASE (database_name);
USE (database_name)
Change (database_name) with whatever you preferred without the ( ).
Then, Copy all lines from db.sql to mysql CLI. You're all set.
Since admin account registration is based of "token" like, you'll need to create token manually using the sql INSERT INTO
function.
INSERT INTO redeemtoken (token) VALUES ('token');
Change the token to suit your need.
I didn't create any button that directly sends to login/register page. So you'll need to enter the address manually.
do npm install to install any required modules