Giter Site home page Giter Site logo

pafin-assignment's Introduction

Pafin Assignment

This is a project built using React and TypeScript, based on Vite as the build and development tool.

How to Run

You can start the development server locally with the following command:

pnpm install
pnpm run dev

Development Server

When you start the development server using pnpm run dev , Vite will automatically choose an available port for the server. By default, it tries to use port 3000, but if that port is already in use, it will select another available port. This is why you might see a different port number, such as http://localhost:3000/, in your terminal.

Configuring a Fixed Port

If you prefer to use a fixed port every time you start the development server, you can configure this in the vite.config.js file. Here's an example of how to set the server to always use port 3000:

// vite.config.js
import { defineConfig } from 'vite';

export default defineConfig({
  server: {
    port: 3000 // Your preferred port
  }
});

Running Tests

This project uses Jest for unit testing. Run the following command to execute tests:

pnpm test

Technology Stack

  • React
  • TypeScript
  • Vite
  • Ant Design
  • Tailwind CSS
  • Jest (Testing Framework)

Code Standards

The project uses ESLint and Prettier to ensure code quality. Run the following command to check for code standards:

pnpm run lint

pafin-assignment's People

Contributors

dadameng 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.