I am excited to share this project that highlights some of my basic React skils and showcases my passion for creating interactive and user-friendly web applications.
Xegr is a React-based web application designed with React. It was built with a focus on performance, responsiveness, and a seamless user experience.
Runs in development mode. http://localhost:3000.
Starts Jest.
Builds the app for production to the build
folder.
In order to run the back-end you should run (Start the front-end first):
cd server
npm start
In order to save Property records to MySQL DB you should:
- Start a MySQL server
- You can do it with Docker easily for example (MacOS data structure):
mkdir -p /Users/<USERFOLDER>/DockerData/MySQL/8.0
docker run --restart always --name mysql8.0 -v /Users/<USERFOLDER>/DockerData/MySQL/8.0:/var/lib/mysql -p 3306:3306 -d -e MYSQL_ROOT_PASSWORD=thisisastrongpass mysql:8.0
- Create server/config/config.json with content:
{
"development": {
"username": "root",
"password": "thisisastrongpass",
"database": "xegr",
"host": "127.0.0.1",
"dialect": "mysql"
}
}
- Run migration
npx sequelize db:migrate