A traditional CRUD application with session based authentication, registration, client and server form data validation, authorization, flash messages and testing.
Or you can clone the project and run it locally. MongoDB must be installed and started on the default port.
clone https://github.com/osenvosem/project-koa-mongoose-pug-sessions
cd project-koa-mongoose-pug-sessions
npm start # if you use npm
yarn start # if you use yarn
- Koa — lightweight low-level framework;
- Pug — template engine;
- MongoDB / Mongoose — document-oriented database and an ODM for it;
- Passport — authentication library;
- Bootstrap — CSS framework;
- Axios — HTTP client;
- Lodash — utility library;
- Moment — library for working with dates;
- Jest — testing framework;
The full list of the used libraries see in the
package.json
file.
npm test # if you use npm
yarn test # if you use yarn