adufou / gamestonk Goto Github PK
View Code? Open in Web Editor NEWWebsite to handle Games (MMOs) portfolios
Website to handle Games (MMOs) portfolios
Eslint pour les decorators ?
https://docs.nestjs.com/techniques/database#typeorm-integration
On peut lire
To begin using it, we first install the required dependencies. In this chapter, we'll demonstrate using the popular MySQL Relational DBMS, but TypeORM provides support for many relational databases, such as PostgreSQL, Oracle, Microsoft SQL Server, SQLite, and even NoSQL databases like MongoDB. The procedure we walk through in this chapter will be the same for any database supported by TypeORM. You'll simply need to install the associated client API libraries for your selected database.
npm install --save @nestjs/typeorm typeorm mysql2
adufou
Clean les secrets pour les mettre dans le .env
GUIDELINES.md
à la racine
GUIDELINES.md
dans des dossiers enfantsLogout auto et redirect login quand JWT expiré
https://docs.nestjs.com/security/authentication#enable-authentication-globally
Todo things to do
Genre dans app.module.ts
pouvoir faire des
imports: [**/*.module.ts]
par exemple
meilleur hot reload si on renomme des fichiers, et pas besoin de les ajouter a chaque fois ce qui est chronophage pour rien (pour le moment)
Faire un middleware qui strip le password des objets user
Checker tous les endroits où les versions ne sont pas fixes et peuvent entrainer des pb de dépendances compliqués à trouver
En profiter pour delete les package lock, et les re up dans une PR séparée pour clean tout ça ? à voir
Todo things to do
adufou
https://docs.nestjs.com/techniques/database#typeorm-integration
https://docs.nestjs.com/techniques/database#typeorm-integration
Warning
Settingsynchronize: true
shouldn't be used in production - otherwise you can lose production data.
export const jwtConstants = {
secret: 'DO NOT USE THIS VALUE. INSTEAD, CREATE A COMPLEX SECRET AND KEEP IT SAFE OUTSIDE OF THE SOURCE CODE.',
};
Todo things to do
Se renseigner sur style lint
Faire le register front
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.