A plateforme for selling books online will be created with
- Nestjs - react - redux - typeorm - algolia - postgres - jest(for testing)
- clone backend repo from url : `https://github.com/ElitDevs/DevilcLaN-BookStore/tree/backend`
- npm install
- enjoy programming :joy:
- clone frontend repo from url :
- do the same thing :D
- BackEnd :
[ ] install nestjscli
[ ] install typeorm ts-node pg
[ ] create database
[ ] add typeOrm & create ormconfig.json file to add what typeOrm needs to work (go back to nestjs and see how to do it)
[ ] create the main components (books, users, authors, categories)
[ ] install passportjs with jwt strategy
[ ] create authentication process
[ ] create # / login and logout
[ ] create other Components books authors categories and add logic
[ ] test all the process
-FrontEnd :
[ ] generate a new react app
[ ] add redux / react-redux / redux-thunk / redux-logger
[ ] add materialUi
[ ] add node-sass
[ ] create main components
[ ] create authentication Component
[ ] create # form
[ ] create login form
[ ] implement connection & generate token
[ ] create dashboard to add books
[ ] create landing page.
`enter server folder and do npm i or yarn and then npm run start:dev => hit url 127.0.0.1:4000`
`enter client folder and do npm i or yarn and then npm start => hit url 127.0.0.1:3000`
-
every function need to be commented respecting jsdoc
-
we add other stuff later like : searching - swagger ui - ci config
-
follow the gitflow / github work flow .