12306.cn is an offical and only website for searching and buying train tickets in mainland China. This project mainly uses JavaScript and builds up a user-interactive ticket searching service through API from AliCloud. Several key terms that I learned recently such as API authentications, regex pattern comparatsion, filtering, and asynchronous functions are used in this project.
Try it online: http://www.gtqifan.tech/backup/Fake_12306/
If you want to just look at how awesome the code I wrote is, then please proceed to the Installing section and open in your own computer
You need to have a computer
No matter Windows, Mac, or Linux works
- Download this project and save it somewhere
- Open with web browsers
- Webstorm - JavaScript IDE
- Bootstrap - Style management
- Date-Fns - Useful plugin for generating formatted date
- Qifan Yang - Initial work - gtqifan
This project is licensed under the MIT License - see the LICENSE.md file for details
My parents