Lire en français
This application implements a simple agenda with these funtionnalities:
- Consult the agenda
- Add a new event to the agenda
- Modify an event
Assuming you are working in local, create your database with this command:
symfony console doctrine:database:create
Execute all the migrations:
symfony console doctrine:migrations:migrate
You need to run this command in your terminal in other to have the categories, otherwise you will get an error(since each event must have a category)
symfony console doctrine:query:sql "INSERT INTO Category(name) VALUES('Birthday'), ('Wedding'), ('Meeting'), ('Conference'), ('Feast'), ('Other')"
You can replace the current values of the request with your own like this :
INSERT INTO Category(name) VALUES([Your-var]), ([Another-one]), ...
But i don't advise it, the app is already configured with these previous values.
If symfony
is not recognized replace symfony console
in your command by php bin/console
.
e.g : php bin/console doctrine:database:create
After running these two previous commands, you should be able to launch the app:
symfony serve # or symfony server:start
After setting up the app and launching it, you will be prompted to login. In your homepage(agenda),
- You can create a new event by clicking on the New event button or on a square of the calendar.
- You can edit and event by clicking on it in the calendar then choose Edit
- You can delete by choosing the Delete button
The app is in both english and french, test it.