Ebay Alets
Requirements
- Docker and Docker Compose
Running the project
To run this project, clone and run the docker-compose command:
git clone https://github.com/DiegoTeles/ebay-alerts
cd ebay-alerts
cp back/.env.example back/.env
************************************
ADD YOUR OWN EBAY KEYS TO THE ENV
EBAY_APP_KEY=key
EBAY_DEV_KEY=key
EBAY_CERT_KEY=key
EBAY_ENDPOINT=key
************************************
docker-compose -f docker-compose.yml up
After that, the API will be available at http://localhost:3001 and the web interface will be available at http://localhost:3000
PS.: For any reason the MongoDB
container is taking way too long to start, if that happens, please restart the ebay-alert-back
container
What I used
- Docker and Docker Compose for container managment
- Node.js for backend
- Express as router
- Node Mailer for sending emails
- Node Cron for the cron scheduling
- React for the frontend (Hooks)
- Create React App as boilerplate
- Redux-Saga as state container
- Sass as styles components
- React bootstrap as ui kit
- MongoDB as database
- Mailtrap as SMTP server
- Redis as cache
Unfortunatelly I was unable to create any test, due to the deadline
Create auth interface and automate tests ;/
How to check the e-mails
- Create on account in Mailtrap
- Go to link Demo Inbox
- In menu Integrations select node.js
- Copy your keys and paste in .env file in back project
You can check the running process as well by tailing the log via:
docker logs ebay-alert-back -f