This is the 1st API for the task of week 2. It is a simple nodeJS app that returns your lucky number and makes an api call to API2.
- Fork this repo.
- Edit variables in index.js i.e. URL, YOUR_NAME and YOUR_LUCKY_NUMBER.
- Commit your changes.
- Proceed to deploy on AWS ec2 instance.
- This project has no security measures and has the tendency to break in the future.
- If that happens (breaks), delete the node modules and run 'npm install' command in your cyf-first-api directory.
- Do not save keys plainly in your forked repo, talking from experience.
- Try to stick with free-tier ubuntu images instaed of AWS Linux as ubuntu versions have more active users.
I am open to questions and pull requests. Happy hacking. Cheers.