A small description about this test and the activities:
The main focus of backend development is to define an API endpoint that returns the content of a CSV file in JSON format.
The main goal of the frontend development is the creation of a single-page application that show, following a defined design, the data provided by the aforementioned API.
- At the moment i'm using localstorage as favorite's persistment.
- At the moment i'm not using different size images for cards & fix card box height.
It was developed with nodejs and the express framework. There is no routes module but only two routes with app.get in index.js
- http://localhost:8000/
- --> "Server projects is running" is OK
- http://localhost:8000/api/projects?page=3&limit=50
- --> serve the Json response from the ReadStream CSV file Projects Data
- --> filters the data with some conditions and serve at least a number equal to "limit" records
It was developed with javascript and the React Library using vitejs.
- The design, in this first version, was not developed using a UI framework but only css classes because we are in minimal contest.
- Image in the project box is api random from https://random-image-pepebigotes.vercel.app/.
- You can choose a favorite project and remove it from favorites projects whenever you want (with heart icon).
- You can click and show the project from the favourites.
- Create environment params in backend & frontend
- Insert others beatiful transition
A step by step guide that will tell you how to get the environment up and running.
- cd projects/BACKEND
- npm install
- npm start server is now listening at http://localhost:8000
- cd projects
- npm install
- npm run build
- npm run preview
- Launch in browser http://localhost:4173