Skip to content

Instantly share code, notes, and snippets.

View olygood's full-sized avatar

olygood olygood

  • Liege
View GitHub Profile
@olygood
olygood / README.md
Last active August 14, 2023 08:42
all readme learn writer

Twitter App

Bienvenue dans ce workshop pour la création d'une mini app Twitter. Cette application va nous permettre d'utiliser :

  • zod
  • react-query
  • next

Pré-requis

{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
@olygood
olygood / tailwindcss.txt
Created September 19, 2023 16:36
tailwindcss
/ Install Tailwind CSS
/ Install tailwindcss and its peer dependencies, then generate your tailwind.config.js and postcss.config.js files.
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
/ Configure your template paths
/ Add the paths to all of your template files in your tailwind.config.js file.
tailwind.config.js
@olygood
olygood / all.json
Created November 28, 2023 14:56
tout les fichiers .json ici
//configure json et explication
//package.json
//ext: s'occupe des fichiers .js et .json si il change relance le server nodemon
//watch s'occupe des dossier
"nodemonConfig": {
"verbose": true,
"watch": ["src", "config"],
"ext": "js,json",
"scripts": {
"start": "nodemon your_main_file.js",
@olygood
olygood / globals.css
Created March 25, 2024 08:29
globals de nextjs
@tailwind base;
@tailwind components;
@tailwind utilities;
//COLORS-----------------------------------
:root {
--color-red: #ef7b7b;
--color-jellow: #fcf3ca;
--color-green: #c4eada;
/* --color-grey: #919190; */