A responsive and scalable gift registry web application in Node.js based on Service-Oriented-Architecture and RESTful Web Services.
- Created dynamic web UI and its functionalities using CSS3, jQuery and Bootstrap.
- Created 3 separate servers for running the client, services and micro-services.
- Built RESTful APIs to handle the basic web site functionalities
- Used MySQL database for creating and storing customer data.
- Provided web site security using TSL/SSL.
- Used Nodejs compression library to provide compression at both the service and micro-service layers.
- Implemented Memcache at the service layer to cache results of queries.
- Should have node installed. Follow this
- Should have MySQL installed. Follow this
- Setting up TSL/SSL and generating certificates. Incomplete
- Download and install CORS extension on chrome. Download from here - https://chrome.google.com/webstore/detail/cors-toggle/jioikioepegflmdnbocfhgmpmopmjkim?hl=en
- Download the git repository.
- Run .sql in SQL Workbench.
- Open the 3 folders - GiftRegistry, GiftRegistry-Services, GiftRegistry-Microservices.
- Open 3 cmd windows and run the following code on all three -
npm install
npm start
If everything is running succesfully, you should see
$ npm start
> giftregistry@1.0.0 start /Users/Project/GiftRegistry
> nodemon index.js
[nodemon] 1.12.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node index.js`
- Visit - https://nodejs.org/en/
- Download for your relevant OS.
- Install MySQL - https://www.mysql.com/
- Install MySQL Workbench - https://dev.mysql.com/downloads/workbench/
- Setup MySQL Workbench by creating a new connection. Set the username and password as root and root.