1
1
# sparkle
2
2
3
- This README outlines the details of collaborating on this Ember application.
4
- A short introduction of this app could easily go here.
3
+ Sparkle is a small EmberJS app that is used for the pairing exercise in a frontend engineering interview.
4
+
5
+ - Uses the latest version of EmberJS but sticks with Octane syntax and Glimmer components to keep it familiar and accesssible to our candidates.
6
+ - Uses Mirage to mock out a backend
7
+ - Uses Tailwind for styling
8
+ - Provides a home route, a patients route, and an edit patient route.
9
+ - Provides a patient model and a practitioner model.
10
+ - Use ` pnpm ` as the package manager.
5
11
6
12
## Prerequisites
7
13
@@ -11,41 +17,42 @@ You will need the following things properly installed on your computer.
11
17
- [ Node.js] ( https://nodejs.org/ ) (with npm)
12
18
- [ Ember CLI] ( https://cli.emberjs.com/release/ )
13
19
- [ Google Chrome] ( https://google.com/chrome/ )
20
+ - [ pnpm] ( https://pnpm.io/ )
14
21
15
22
## Installation
16
23
17
24
- ` git clone <repository-url> ` this repository
18
25
- ` cd sparkle `
19
- - ` npm install`
26
+ - ` pnpm install`
20
27
21
28
## Running / Development
22
29
23
- - ` npm run start`
24
- - Visit your app at [ http://localhost:4200 ] ( http://localhost:4200 ) .
25
- - Visit your tests at [ http://localhost:4200/tests ] ( http://localhost:4200/tests ) .
30
+ - ` pnpm run start`
31
+ - Visit Sparkle at [ http://localhost:4200 ] ( http://localhost:4200 ) .
32
+ - Visit the tests at [ http://localhost:4200/tests ] ( http://localhost:4200/tests ) .
26
33
27
34
### Code Generators
28
35
29
36
Make use of the many generators for code, try ` ember help generate ` for more details
30
37
31
38
### Running Tests
32
39
33
- - ` npm run test`
34
- - ` npm run test:ember -- --server`
40
+ - ` pnpm run test`
41
+ - ` pnpm run test:ember -- --server`
35
42
36
43
### Linting
37
44
38
- - ` npm run lint`
39
- - ` npm run lint:fix`
45
+ - ` pnpm run lint`
46
+ - ` pnpm run lint:fix`
40
47
41
48
### Building
42
49
43
- - ` npm exec ember build` (development)
44
- - ` npm run build` (production)
50
+ - ` pnpm exec ember build` (development)
51
+ - ` pnpm run build` (production)
45
52
46
53
### Deploying
47
54
48
- Specify what it takes to deploy your app .
55
+ This repo should not be deployed .
49
56
50
57
## Further Reading / Useful Links
51
58
0 commit comments