This is a sample MEAN demo app with full CRUD functionality.
Download and Install https://www.mongodb.com/ in local system if not available and following the below steps.
- Create db named
bookstore
and collections namebooks
&geners
. - Run the
mongod
. It willwaiting for connections on port 27017
.
As soon as application will run mongodb will connect with node backend services.
In the project directory, you can run:
Install nodemon globally.
yarn add global nodemon
yarn
or yarn install
to get the dependencies
Runs the app in the development mode.
Open http://localhost:8000 to view it in the browser.
For code linting (used eslint recommended rules). Check against 'app.js' 'route.js' 'config.js' 'server/**/*.js' 'public/**/*.js'
0 Errors || 0 Warning
- Home or Book lists http://localhost:8000 to view it in the browser.
- Book lists http://localhost:8000/#!/books to view all available books in store.
- Book detail http://localhost:8000/#!/books/detail/id.
- Add new book http://localhost:8000/#!/books/add.
- Edit existing book info http://localhost:8000/#!/books/edit/id.
- Books list.
GET
http://localhost:8000/thesys/api/books. - Book Detail.
GET
http://localhost:8000/thesys/api/book/id. - Add Book.
POST
http://localhost:8000/thesys/api/book/. - Edit Book.
PUT
http://localhost:8000/thesys/api/book/id. - Delete Book.
DELETE
http://localhost:8000/thesys/api/book/id.