Coder Social home page Coder Social logo

ydcrm-nextjs-frontend's Introduction

🎊 YDcrm frontend - Next.js

1. What's this - 这是什么

This is the frontend of a CRM system which is created for my dad's company. In order to keep this system and its data safe, I intentionally deleted most of the backend code from this application. This repository is used as one of my portfolio. I will try my best to keep it up to date.
这是我为我父亲公司所构建的一个 CRM 系统的前端部分。为了确保系统和数据的安全,我有意删除了大部分后端代码。该仓库是我个人作品集的其中之一,我会尽我最大的努力保持该版本的更新

2. How to run - 如何运行

This application requires node 18+, please make sure that you have a relatively new node version

!! There is something you have to know before you make your first step. This is a frontend version which is extracted after I finished the application, and most frontend code has been integrated tightly with my backend while you don't have backend in this repo, so currently, I'm trying to put some mock data on it so that this version can get rid of file not found errors. This takes some time. If you don't want to wait, you can open the mock folder and match them to its corresponding components or fill some data by yourself. I'll try my best to solve this problem ASAP.
First, install all the dependencies:
npm install
# or
yarn install
# or
bun install

Second, run the dev server

npm run dev
# or
yarn dev
# or
bun run dev

Then you can open it by visiting localhost:3000 in your browser (if there's no exception)

3. Main Tech Stack - 主要技术栈

1. Next.js:
I use next to do fullstack development for this application, using server action to implement backend.
2. TailwindCSS + shadCN
shadcn UI is widely used in this application, especially for building form and modals. I also extended some components like tree-structure lists and did some encapsulation of form items with full typescript support which you can find it and even more in the components folder
3. Zustand
Really a light-weight state management package, having similar experience compared to pinia (I think so personally). Recommend you guys to have to try.

For more detailed package information, check package.json. 🌟 Star if you like this. Thank you very much.

ydcrm-nextjs-frontend's People

Contributors

puggo1145 avatar

Stargazers

 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.