/leslivres-backend-nodejs

Backend app for LesLivres library based on NodeJS

Primary LanguageJavaScriptMIT LicenseMIT

LesLivres is a backend app built in Node.js, Express and MySQL which has features such as login / register using JWT, pasword hashing, CORS, etc.

This app is a first week assignment on the Arkademy Bootcamp

📝 Table Of Content

Prerequisites

  • Node.js installed on the local machine
  • MySQL intalled on the local machine (ex. XAMPP)

Installation

  1. Clone this repository: git clone https://github.com/danielwetan/leslivres-backend-nodejs
  2. Install depedencies: cd leslivres-backend-nodejs & npm install
  3. Start XAMPP
  4. Database configuration:
    • Open http://localhost/phpmyadmin in the browser
    • Create a new table with the name leslivres
    • Import database to current table, select leslivres.sql file from project folder
  5. Start the server: npm start
  6. Run app in the browser on the port http://localhost:3000

Features

  • CRUD
  • Search, Sort, Pagination
  • Cors
  • Login/Register with JWT
  • Password hashing

Built with

Author

License

This project is licensed under the MIT License - see the LICENSE file for details