A very simple public Restful API to manage palindrome strings. This is a Nodejs application using MongoDB Atlas clusters for data storage
https://documenter.getpostman.com/view/2921837/T1LPCmEU
https://node-palindrome-restapi.herokuapp.com/messages
You will need Nodejs installed. Docker image unavailable since I was running into installation issues with Windows 10 Home version
- Run
npm install
to install all dependencies - Run
npm start
to start the server. By default this app will be listening on localhost:3000/messages/ - Run
npm test
to run component and unit tests
- NodeJS (Express, body-parser, morgan)
- MongoDB (Mongoose)
- Testing & validation (joi, mocha, chai)
- Fix PATCH request not updating isPalindrome boolean
- Fix pagination to show 'next page' link
- Sanitize for string numbers
- Sanitzie query params
- Creating a Docker image. Since I was developing on a Windows 10 Home edition, installation and configuration of Docker was a bit time consuming and tedius.
- User authentication via JWT
- Set up .env file for environment variables for different environments (i.e production, development)
- Unit testing of Controller functions via Mocking libraries
- Custom error class
- Flaky end point tests