/Insight

This site allow user to read latest blogs and news on trending topic

Primary LanguageJavaScript

Insight lets you view all the latest news on trends and tech blogs.

Description

  • This React application is built using Vite.
  • It uses Tailwind CSS
  • The application is generated in JavaScript.

Pre-requisites

  • git - v2.13 or greater
  • NodeJS - v16 or greater
  • npm - v6 or greater

Running in dev environment

  1. cd YOUR_APPLICATION
  2. npm install
  3. npm start

.env file

This file contains various environment variables that you can configure.

Folder Structure

.
├── package.json
├── postcss.config.js
├── vite.config.js
├── index.html
├── public
│   ├── assets
│   │   ├── images --------- All Project Images
│   │   └── fonts ---------- Project fonts
│   ├── favicon.ico
│   ├── manifest.json
│   └── robots.txt
├── README.md
├── src
│   ├── App.jsx
│   ├── components --------- UI and Detected Common Components
│   ├── constants ---------- Project constants
│   ├── hooks -------------- Helpful Hooks
│   ├── index.jsx
│   ├── pages -------------- All route pages
│   ├── Routes.jsx ---------- Routing
│   ├── styles
│   │   ├── index.css ------ Other Global Styles
│   │   └── tailwind.css --- Default Tailwind modules
│   └── util
│       └── index.jsx ------- Helpful utils
└── tailwind.config.js ----- Entire theme config, colors, fonts etc.

For the project to build, these files must exist with exact filenames:

  • index.html is the page template;
  • src/index.jsx is the JavaScript entry point.

You may create subdirectories inside src.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production to the build folder.

npm run eject