This is the frontend and backend applications of Word Memo.
Before starting, make sure you have the latest version of node and docker installed in your machine. Rename .env.dev to .env and replace the variables by the correct values. Inside the api folder run the following commands:
This command will run the database locally.
Runs the app in the development mode.
The frontend App was created using create-react-app and you can run the client by navigating to the client folder and run the command:
In the client folder, you can run:
Run the unit tests.
Run the storybooks and manually check the visual consistency of the components.
Format the code using prettier
In the api folder, you can run:
Run the unit and integration tests. In order to run e2e tests, you need to run the database using the command docker-compose up db.
Use this command to create new migrations based on your database entities.
Format the code using prettier