A demo of sign up, sign in and reset password which based on koa v2.
This project needs Node.js v7.6.0(or later versions), MongoDB and Redis. Make sure you have installed these software on your device.
The configuration file is .env
Edit it with your own data:
- Your email server, like gmail, outlook, etc.
- Your email address
- The password that your email provided for third parties
First of all, you should install the dependencies in package.json. You can use either with npm or yarn.
After the installation is complete, run the command below to build and start the demo
npm run build && npm startYou will see the output below after a few seconds, that means the demo started successfully.
Listening on 3030Open http://localhost:3030 in your browser.
MIT. Copyright (c) 2017 ConanXie.