A Google Forms type application.
Ensayador is a simple project I built primarily as a learning exercise. The main focus of this project was to develop both a custom backend and frontend, simulating popular frameworks like Laravel and React. The backend was developed in an MVC (Model-View-Controller) style, similar to Laravel, while the frontend was built as a single-page application (SPA), inspired by React.
This project was a way for me to dive deeper into building a full-stack web application from scratch while using best practices in software architecture. Below, I detail the core features of the application as well as the steps required to run it locally.
- Authentication and authorization for both companies and testers, handled in both frontend and backend.
- Companies can create and manage surveys.
- Testers can participate in and fill out surveys.
- Companies can manage testers (register and remove).
- Surveys are illustrated with charts using the Google Charts API to visualize responses.
- XAMPP (for running Apache and MySQL servers)
- npm (for managing frontend dependencies)
- Set up XAMPP if you haven't already.
- Place this project folder inside the
htdocsdirectory. - Start Apache and MySQL from the XAMPP control panel.
- Locate the
.sqlfile included in the project folder. - Open your browser and go to
http://localhost/phpmyadmin/. - Create a new database.
- Run the
.sqlscript inside the newly created database.
- Install npm if you haven't done so already.
- Navigate to the
clientfolder. - Run
npm installto install all dependencies. - Run
npm startto start the client (by default, it runs on port 3000).
- Navigate to the
serverfolder. - Set the environment variables in the
.envfile.