Simple comicbook webapp built using MEAN fullstack Javascript framework + RESTful API
- MongoDB (3.2)
- Node.js (Latest)
- Bower (Latest)
- Install development environment requirements listed in previous section.
- Clone or download project.
- Navigate to project root folder.
- Install NPM packages
npm install
- Start MongoDB process. (Run mongod.exe)
- Populate database by running 'populateDatabase.js' file located in root directory of project.
node populateDatabase.js
- Start server with node.js by running 'server.js' file located in root directory of project.
node server.js
- Access webapp with prefered browser via localhost and port 3000
http://localhost:3000/
The API can be accessed via HTTP. The API provides access to CRUD operations as defined in this specification.
e.g. http://localhost:3000/api/comics
/api/comics
Retrieve all comic records/api/comics/:comicId
Retrieve single comic record by ID/api/comics/title/:comicTitle
Retrieve single comic by Title/api/comics/search/:comicSearch
Retrieve all comics where 'title' or 'description' contain comicSearch sting
Validation is provied both on the server via Mongoose; as well as the client side via Angular.
The front end is a SPA built using Angular.