Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Example backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas SAUVAGE
Example backend
Commits
47b36360
Verified
Commit
47b36360
authored
1 year ago
by
Thomas SAUVAGE
Browse files
Options
Downloads
Patches
Plain Diff
prettier to lf format
parent
421de516
No related branches found
No related tags found
1 merge request
!1
Idiomatic relations
Pipeline
#13743
passed
1 year ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-0
4 additions, 0 deletions
README.md
start/routes.ts
+0
-1
0 additions, 1 deletion
start/routes.ts
with
4 additions
and
1 deletion
README.md
+
4
−
0
View file @
47b36360
...
...
@@ -3,9 +3,11 @@
## Setup
Install dependencies
```
bash
npm
install
```
Environment variables are needed for the backend to run properly. The
[
`.env.example`
](
./.env.example
)
file contains default development variables. You can copy it to a
`.env`
file.
```
bash
...
...
@@ -13,11 +15,13 @@ cp .env.example .env
```
Run docker compose to start the database
```
bash
docker compose up
```
Reset and seed databases
```
bash
node ace migration:fresh
--seed
```
...
...
This diff is collapsed.
Click to expand it.
start/routes.ts
+
0
−
1
View file @
47b36360
...
...
@@ -19,7 +19,6 @@
*/
import
Route
from
'
@ioc:Adonis/Core/Route
'
/** ==== Auth ==== */
Route
.
group
(()
=>
{
Route
.
group
(()
=>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment