Alfabank website page makeup project for the university's system software basics course, variant №2.
You can look at Original Website and My Website Copy on GitHub pages.
Frontend
npm install
npm start
npm install
npm run build
- Install npm serve:
npm install -g serve
- Start build result with:
serve -s build -l 4000
- Open
localhost:4000
in your browser
Backend
⚠ Caution, the backend is written in pure PHP as a Restful API 🙌.
Docker is used to make it easy to move a project together with the database contents to other devices.
- To start the server development and the database containers run the command:
docker-compose -f docker-compose.dev-server.yml up -d
- To stop it:
docker-compose -f docker-compose.dev-server.yml down -t 3
- How to open services:
Check .env file to get environment variables.
DB: localhost:${POSTGRES_PORT}
Server: localhost:${LOCAL_SERVER_PORT}