This is a simple SPA built using Koa as the backend, Vue as the first frontend, and React as the second frontend. Features MySQL integration, user authentication, CRUD note actions, and async/await.
Koa-Vue-Notes-Api is a simple SPA (Single Page Application) built using Koa as the backend, Vue as the first frontend, and React as the second frontend. The backend is built using Koa 2.5.1 and features various modules such as Koa-Router, Koa-Ratelimit, Koa-Bodyparser, KCors, Bcrypt, Sendgrid Mailer, Joi, Fs-Extra, JWT, Nodemon, Prettier, Babel, MySQL, Knex, Jest, Faker, and log4js. The project also includes Docker server for easy deployment. The frontend components can be found on GitHub and are available for demo as well. The project showcases a fully fleshed-out user login/signup/forgot/reset authentication system using JWT.
npm install
in the root directory..env
file in the root directory and populate it with the necessary environment variables. Refer to the .example.env
file for reference../src/index.js
and make sure you have Redis running. You can follow the installation guide to set up Redis.npm start
.Koa-Vue-Notes-Api is a simple SPA that showcases the use of Koa as the backend, Vue and React as the frontends, and various modules and libraries for enhanced functionality. With a fully fleshed-out user authentication system and a range of features, the project serves as a good example for learning both frontend and backend techniques. The code is well-commented and balanced, making it easy to understand and follow along. Overall, this project demonstrates the power and advantages of using well-structured libraries like Koa, Vue, and React.