- ttt.js: the 1st version
- There is no UI part in that version. All data will be passed and displayed in JSON format
- /tictactoe: The newest version with UI
- app.js: The entry point
Create a REST-based Tic-Tac-Toe Service
- Develope user-creation system and validated with email
- Create Inactive User
- Send verification code via Email
- Able to verify email through url query or Form
- Able to save new game and get history data with specified Game ID
- Comminucate through Ajax Call with JSON data between Server and Client
- Techs: NodeJS, MongoDB Cloud
- Packages (for the newest version)
Packages/Dependecies Usage express ExpressJS nodemailer Email usage express-session Stores only a session identifier on the client within a cookie and stores the session data on the server crypto Generate the key based on password mongoose Store User and Game data winston Logger forever pug Template Engine
More details in /assets/images folder