Git Product home page Git Product logo

atlas_3_frontend's Introduction

Atlas 3 Frontend

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Setup Guide

This project was set up with NodeJS v20.11.0 LTS with yarn.

  1. Install packages
    yarn
  2. Create a file .env.development.local in root folder with the following information
    VITE_IGNORE_MSW=false
    
    If you would like to ignore mock service worker, set it to true.
  3. Create another file .env.test.local in root folder with same content as above
  4. Run the development server
    yarn dev

Dependencies

We shall be using these packages

  1. React Query for data fetching.
  2. Mock Service Worker to isolate develop on the frontend. You don't have to worry about backend code.
  3. React Router for routing.
  4. date-fns for any date related data processing.
  5. useHooks for useful hooks so you never have to write custom hooks.

Please look up the documentation on their websites for intended uses and best practices.

Vite + Typescript + React

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: "latest",
    sourceType: "module",
    project: ["./tsconfig.json", "./tsconfig.node.json"],
    tsconfigRootDir: __dirname,
  },
};
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list

atlas_3_frontend's People

Contributors

gnimnix avatar andrewjanong avatar markgcera avatar rachelsitoh avatar bransometan avatar chelleadel avatar

Watchers

 avatar

Forkers

markgcera

atlas_3_frontend's Issues

Unexpected Behaviour: "Enter" key changing visibility of password field.

Describe the bug
"Enter" key changing visibility of password field.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/login'.
  2. Click on password field.
  3. Input any value.
  4. Press "Enter" key.

Expected behavior
"Enter" key should not change visibility.

Screenshots
image

Desktop (please complete the following information):

  • OS: macOS
  • Browser: chrome
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Create the base files please!

Is your feature request related to a problem? Please describe.
We need the base files for the project.

Describe the solution you'd like
Give us the base files!

Describe alternatives you've considered
There are no alternatives

Additional context
This serves as an example issues ticket for future reference!

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.