An Aplication to help ticket seekers find their train ticket easily.This App now deployed using netlify. The url is Here
Before starting to install the project, there're some things that need to be done first.
Make sure all of these are properly installed in your system.
Application | Download |
---|---|
Git | Windows / Linux |
Node.js | Link |
ReactJS | Link |
MySQL | Link |
First, clone this repository into your system.
git clone https://github.com/hasbimsdd27/DW14CYZ3R_landTick.git
Then, install all the packages that described in package.json
of both frontend
and server
directories.
npm install
For the server setup, first, make sure your MySQL services is running fine. In backend
directory, you'll find config.json
inside config
folder. Open and edit the development
configuration to match your database setup.
"development": {
"username": "root",
"password": null,
"database": "db_do_line",
"host": "127.0.0.1",
"dialect": "mysql",
"operatorsAliases": false
},
After completing the database configuration setup, migrate all the required tables.
npm run build
We also need to configure some environtment variables for the backend, let's create .env
file in backend's root project, open and edit it, then input the code below.
SECRET_KEY=ThisIsTheSecretKey
The SECRET_KEY
you can custom it as you wish.
And for the last step, running the backend
npm start
Before running the application, we need to configure the package environtment variable for the frontend, let's type code below to install all needed package.
npm i
After needed package successfuly installed then run apllication with typing
npm start
Wait till the application appear in your browser and now, you can explore Toon Kingdom and its features. Enjoy!
- ReactJS - Front-end
- Express JS - Back-end
- MySQL - Database
Hasbi Musaddad - hasbimsdd27
This project is licensed under the GNU General Public v3.0 License - see the LICENSE file for details