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
- Node.js installed on the local machine
- MySQL intalled on the local machine (ex. XAMPP)
- Clone this repository:
git clone https://github.com/danielwetan/leslivres-backend-nodejs
- Install depedencies:
cd leslivres-backend-nodejs & npm install
- Start XAMPP
- 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
- Start the server:
npm start
- Run app in the browser on the port http://localhost:3000
- CRUD
- Search, Sort, Pagination
- Cors
- Login/Register with JWT
- Password hashing
- Node.js - JavaScript runtime environment
- Express.js - Web framework
- MySQL Database
- JWT - Login/Register authentication
- Bcrypt - Password Hashing
This project is licensed under the MIT License - see the LICENSE file for details