|
|
@@ -58,37 +58,7 @@ Start the nuxt server:
|
|
|
> Without it, the frontend's requests will be blocked as CORS errors.
|
|
|
|
|
|
|
|
|
-## Add Fixtures
|
|
|
-
|
|
|
- docker exec -it snc_demo_db bash
|
|
|
-
|
|
|
- mysql -u root -p'Hxb3aMXUPb3m%$Ai*' -D snc_demo -e "
|
|
|
- ALTER TABLE `snc_demo`.`author` AUTO_INCREMENT = 1;
|
|
|
- INSERT INTO `snc_demo`.`author` (`name`)
|
|
|
- VALUES
|
|
|
- ('Artist 1'),
|
|
|
- ('Artist 2'),
|
|
|
- ('Artist 3');
|
|
|
-
|
|
|
- ALTER TABLE `snc_demo`.`song` AUTO_INCREMENT = 1;
|
|
|
- INSERT INTO `snc_demo`.`song` (`title`, `author_id`)
|
|
|
- VALUES
|
|
|
- ('Song A', 1),
|
|
|
- ('Song B', 1),
|
|
|
- ('Song C', 1),
|
|
|
- ('Song D', 2),
|
|
|
- ('Song E', 2),
|
|
|
- ('Song F', 3),
|
|
|
- ('Song G', 3);
|
|
|
- "
|
|
|
-
|
|
|
-> Warning : If you plan to use this as a starter for your own project, don't forget to change the
|
|
|
-> DB password !
|
|
|
-
|
|
|
-
|
|
|
-## Try it
|
|
|
-
|
|
|
-At this point, the application should be served at https://local.app.snc-demo.fr/.
|
|
|
+At this point, the application should be served at https://local.app.astra-corp.fr/.
|
|
|
|
|
|
|
|
|
## Accessing the OpenAPI Interface
|
|
|
@@ -96,7 +66,7 @@ At this point, the application should be served at https://local.app.snc-demo.fr
|
|
|
The OpenAPI interface is available at:
|
|
|
|
|
|
```
|
|
|
-https://local.api.snc-demo.net/api/docs
|
|
|
+https://local.api.astra-corp.net/api/docs
|
|
|
```
|
|
|
|
|
|
This interface provides documentation for all available API routes.
|