Create file .env and set variables
$ cp .env.example .env
$ docker-compose up
$ yarn
$ yarn migrate
$ yarn seed:run
# development
$ yarn start
# production mode
$ yarn start:prod
The following document includes instructions for a development task we use to measure your skill level.
What we're looking for:
- The instructions are vague - there is no "right" solution.
- Keep it simple! This test is designed to take you no more than a few hours to complete.
- Ask questions. Good communication is the key to our team. You should be able to complete this task without help, but if you have questions about expectations - ask.
- Create a new Node.js project and push it into a git repo.
- Create a MySQL database.
- Create a Node.js script that will fetch data from a REST API and store it in the database you created
- Create a Node.js script that will fetch data from a website using puppeteer and store it in the database.
- Create a simple Frontend UI to display the stored data.
Create a new repository on any git hosting platform of your choice.
Feel free to use whatever structure you think fits the tasks. You can use docker-compose or some free online MySQL hosting solution:
- https://www.freemysqlhosting.net
- https://www.db4free.net
- https://www.freesqldatabase.com/freemysqldatabase
Create a simple script that will fetch data from an API and store it in the database you created.
- Use https://reqres.in/ for the API.
- Fetch the list of users from that API (both pages).
- Store the fetched data in the database.
Create a simple script that uses a puppeteer to fetch data from https://develop.pub.afflu.net.
- Log into account using these credentials:
Login: [email protected]
Password: ****** - Navigate to https://develop.pub.afflu.net/list?type=dates
- Change the date range to April 1st, 2020; April 30th, 2019
- Fetch the whole "DATES" table at the bottom of the page (all pages).
- Store data from the table in the database.
- Create a simple Express.js Web server.
- Create one page (HTML JS) that will be available via Express server at https://localhost:8080
- That page should make an async request to the Express/Koa server to fetch all of the data you collected in the steps above.
- Output everything that you fetched to the page.