Coder Social home page Coder Social logo

mentormenteedevopstest's Introduction

M&M - Frontend Prerequisites

Download the following.

1.Node JS

https://nodejs.org/en

2.Visual Studio Code

https://code.visualstudio.com/

Create React App Using Vite with below commands

1.type npm create vite@latest in your vsc terminal

2.go to your created folder & type npm init in your terminal for node_modules & package-lock.json

3.type npm run dev to run react app.

Integrate Your App with

1.Tailwind CSS

2.Axios

3.Router

4.Redux Toolkit

  1. Tailwind CSS

https://tailwindcss.com/docs/guides/vite

step 1:type npm install -D tailwindcss postcss autoprefixer

step 2:type npx tailwindcss init -p These two commands will create two config files -> Postcss.config.js & tailwind.config.js

step 3: replace the code in tailwind.config.js file with the below code.

/** @type {import('tailwindcss').Config} */

export default { content: [ "./index.html", "./src/**/*.{js,ts,jsx,tsx}", ], theme: { extend: {}, }, plugins: [], }

step 4: Go to index.css file & add this directives

@tailwind base;

@tailwind components;

@tailwind utilities;

step 5 : Tailwind Setup is done.

  1. How to setup Axios in your project.

https://www.npmjs.com/package/axios

step 1 : type npm i axios in your terminal.

step 2 : import axios from "axios";

step 3 : use axios in your app like

axios.get(url) .then(res => { console.log(res.data); });

  1. How to setup React Router Dom

https://www.npmjs.com/package/react-router-dom

step 1 : type npm i react-router-dom in your terminal.

follow the remaining steps

https://reactrouter.com/en/main/start/tutorial

  1. How to Integrate Redux ToolKit

step 1: type npm i @reduxjs/toolkit

step 2 : type npm i react-redux

follow the remaining steps

https://redux-toolkit.js.org/tutorials/quick-start

mentormenteedevopstest's People

Contributors

thecuriousteam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.