Skip to content

Commit 67f76a4

Browse files
feat(getAndCreateAnEvent): implementation get and create an event
1 parent 69a522b commit 67f76a4

File tree

105 files changed

+17259
-1571
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+17259
-1571
lines changed

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"editor.codeActionsOnSave": {
3+
"source.fixAll.eslint": true
4+
}
5+
}

README.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
1-
# kumojin
1+
# Kumojin
2+
3+
L’objectif est d’avoir une application basique de gestion des événements.
4+
5+
Un événement est caractérisé par son nom (32 caractères maximum), sa description et ses dates de début et de fin. Attention, les événements peuvent avoir lieu n’importe où dans le monde, n’oublie pas de prendre en compte la timezone.
6+
7+
Le back-end est une API REST qui retourne du JSON. Il doit gérer les opérations suivantes :
8+
9+
Créer un événement
10+
Lister les événements
11+
12+
Le front-end doit permettre de :
13+
14+
Créer un événement
15+
Lister les événements (optionnel)
16+
17+
# Repo front :
18+
19+
./front : ReactJS
20+
21+
# Repo back :
22+
23+
./back: NestJS & bdd MONGODB
24+
25+
Lancement en local :
26+
27+
Lancement des tests :

back/.eslintrc.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,15 @@ module.exports = {
55
sourceType: 'module',
66
},
77
plugins: ['@typescript-eslint/eslint-plugin'],
8-
extends: [
9-
'plugin:@typescript-eslint/recommended',
10-
'plugin:prettier/recommended',
11-
],
8+
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
129
root: true,
1310
env: {
1411
node: true,
1512
jest: true,
1613
},
17-
ignorePatterns: ['.eslintrc.js'],
14+
ignorePatterns: ['.eslintrc.js', 'src/**/*.e2e-steps.ts'],
1815
rules: {
16+
'@typescript-eslint/ban-types': 'off',
1917
'@typescript-eslint/interface-name-prefix': 'off',
2018
'@typescript-eslint/explicit-function-return-type': 'off',
2119
'@typescript-eslint/explicit-module-boundary-types': 'off',

back/.prettierrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
22
"singleQuote": true,
3-
"trailingComma": "all"
3+
"trailingComma": "all",
4+
"printWidth": 150,
5+
"arrowParens": "avoid"
46
}

back/README.md

-38
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
1-
<p align="center">
2-
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" /></a>
3-
</p>
4-
5-
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
6-
[circleci-url]: https://circleci.com/gh/nestjs/nest
7-
8-
<p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
9-
<p align="center">
10-
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
11-
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
12-
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
13-
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
14-
<a href="https://coveralls.io/github/nestjs/nest?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9" alt="Coverage" /></a>
15-
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
16-
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
17-
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
18-
<a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
19-
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
20-
<a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>
21-
</p>
22-
<!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
23-
[![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->
24-
251
## Description
262

273
[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
@@ -57,17 +33,3 @@ $ npm run test:e2e
5733
# test coverage
5834
$ npm run test:cov
5935
```
60-
61-
## Support
62-
63-
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
64-
65-
## Stay in touch
66-
67-
- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
68-
- Website - [https://nestjs.com](https://nestjs.com/)
69-
- Twitter - [@nestframework](https://twitter.com/nestframework)
70-
71-
## License
72-
73-
Nest is [MIT licensed](LICENSE).

0 commit comments

Comments
 (0)