Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit a338e5c

Browse files
author
Marcelo
committed
fix: folder structure and style imports
1 parent 8e06b87 commit a338e5c

33 files changed

+168
-417
lines changed

README.md

+15-9
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,46 @@
99

1010
- UI framework:
1111

12-
- **React**
12+
1. **React**
13+
14+
- Style pre-processor:
15+
16+
1. **SASS**
1317

1418
- State management:
1519

16-
- **MobX**
20+
1. **MobX**
1721

1822
- GraphQL client:
1923

20-
- **Apollo Client**
24+
1. **Apollo Client**
2125

2226
- Testing framework:
23-
- **Enzyme**
27+
28+
1. **Enzyme**
29+
2. **Testing-library**
2430

2531
## 🖥 Server-side features
2632

2733
- HTTP server:
2834

29-
- **Express**
35+
1. **Express**
3036

3137
- GraphQL server:
3238

33-
- **Apollo Server**
39+
1. **Apollo Server**
3440

3541
- Database:
3642

37-
- **PostgreSQL**
43+
1. **PostgreSQL**
3844

3945
- Object-relational mapping framework:
4046

41-
- **TypeORM**
47+
1. **TypeORM**
4248

4349
- Data query and manipulation framework:
4450

45-
- **GraphQL**
51+
1. **GraphQL**
4652

4753
## 🌱 Directions
4854

jest.setup.ts

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
import { configure } from "enzyme";
2-
import * as EnzymeAdapter from "enzyme-adapter-react-16";
3-
configure({ adapter: new EnzymeAdapter() });
41
jest.setTimeout(60000);

src/client/__tests__/Animal.test.tsx

-11
This file was deleted.

src/client/__tests__/AnimalsStore.test.tsx

-37
This file was deleted.

src/client/__tests__/CreateAnimal.test.tsx

-63
This file was deleted.

src/client/__tests__/DeleteAnimal.test.tsx

-19
This file was deleted.

src/client/__tests__/ListAnimals.test.tsx

-59
This file was deleted.

src/client/__tests__/Loading.test.tsx

-15
This file was deleted.

src/client/__tests__/NoData.test.tsx

-15
This file was deleted.

src/client/__tests__/UpdateAnimal.test.tsx

-75
This file was deleted.
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module "*.scss" {
2+
const style: { [key: string]: string };
3+
export = style;
4+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
form {
1+
@mixin formSubstance {
22
display: grid;
33
justify-content: center;
44

@@ -12,18 +12,9 @@ form {
1212
}
1313
}
1414

15-
.button-wrapper {
15+
.buttonWrapper {
1616
padding-top: 20px;
1717
display: inherit;
1818
justify-content: inherit;
1919
}
2020
}
21-
22-
.animal {
23-
transition: 0.2s;
24-
25-
&:hover {
26-
cursor: pointer;
27-
color: #0087cb;
28-
}
29-
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import * as React from "react";
2-
import { HelloWorld } from "./ui/index";
2+
import { HelloWorld } from "../ui/index";
33

44
export const HelloWorldConnector = () => <HelloWorld />;

0 commit comments

Comments
 (0)