Live: https://github-users-alpha.vercel.app
Fast and robust React SPA to search for users on GitHub and view their key information.
This is a Next.js project bootstrapped with create-next-app
.
For detailed information about project structure, tools, gotchas, thoughts and acknowledgements, please read the documentation.
To get an overview of the working process check the tasks list.
-
Clone this project
git clone https://github.com/fools-mate/github-users
You can also use SSH if you like, when its configured. (HowTo)
git clone git@github.com:fools-mate/github-users.git
-
Open project directory
cd github-users
-
Install dependencies
npm install
oryarn install
-
Run the project
npm run dev
oryarn dev
The project is now started in development mode. If you want to deploy it, look below.
Check for errors with:
npm run lint:ts
or yarn lint:ts
Try to fix automatically with:
npm run fix:ts
or yarn fix:ts
Reformat your code with:
npm run prettier:fix
or yarn prettier:fix
Check for errors with:
npm run lint:css
or yarn lint:css
Try to fix automatically with:
npm run fix:fix
or yarn fix:css
Launches the test runner in the interactive watch mode:
npm test
or yarn test
Show the test coverage:
npm run test:coverage
or yarn test:coverage
npm run build
or yarn build
Builds the app for production to the build
folder.
The easiest way to deploy this Next.js app is to use the Vercel Platform from the creators of Next.js. Check out this Next.js deployment documentation for more details.