• Stars
    star
    170
  • Rank 223,322 (Top 5 %)
  • Language
    TypeScript
  • Created about 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

We make cool shit that performs, and we start with this template.

next-typescript

The objective of this boilerplate is to set up everything the developer will need (in terms of configuration) to start a next + typescript project. Eslint, prettier and husky are configured to work independent of the user's IDE configuration (as long as it's vscode).

typescript

Deploy with Vercel

Featured Aspects of the Stack

Things to Note

  • It comes with Inter (it's better to host fonts here rather than getting them from google fonts).
  • Pages, components, etc... are located under /src. If you are changing this, be sure to also update tsconfig.json's baseUrl.

Development

  1. Install yarn:

    npm install -g yarn
    
  2. Install the dependencies with:

    yarn
    
  3. Start developing and watch for code changes:

    yarn dev
    

Important Things to Do

  • Check out .env.example for required environment variables to run the project.
  • Add favicons. (Re)Place in ./public: 32x32 favicon.ico, perfect square favicon.svg and favicon-dark.svg (dark theme), 512x512 icon-512.png, 192x192 icon-192.png, 180x180 apple-touch-icon.png. You can use something like this for some (better to use Gimp, Photoshop, or any graphics editor; read more about it here).
  • Delete console.log(basementLog) if not wanted β€” it's under _app.tsx.
  • Replace the contents of this file (README.md) with the contents of the README.example.md file β€” make sure to adapt it to your project's specific needs. Finally, delete the old README.example.md file.

If you find you need to make extra config to make this work more seamlessly, feel free to submit a PR suggesting your changes. Our focus is to get you up and running with the least steps and burden as possible.


cover image

More Repositories

1

scrollytelling

A library for creating Scrollytelling animations, powered by React & GSAP.
TypeScript
1,117
star
2

basement-grotesque

The basement grotesque typeface.
TypeScript
301
star
3

commerce-toolkit

Ship better storefronts πŸ›
TypeScript
279
star
4

basement-laboratory

We combine intensive technology with design expertise.
JavaScript
230
star
5

next-real-viewport

No more horizontal scroll when using 100vw πŸŽ‰. No more issues with the 100vh in mobile browsers 🀯.
TypeScript
119
star
6

next-shopify-ts

A boilerplate for using Next.js with Shopify, TypeScript, and react-query πŸ”₯
TypeScript
33
star
7

next-shopify

A context, a hook, and an API route handler, to manage a Shopify Storefront in your Next.js app.
TypeScript
30
star
8

blender-bezier-exporter

Python
23
star
9

gists

to store snippets of code (because you can't create gists as an org 🀷)
JavaScript
21
star
10

workshop-nextjs-pizza

TypeScript
21
star
11

bsmnt-links

A free URL shortener to deploy with your own domain.
TypeScript
10
star
12

creative-dev-challenge

A challenge for devs aiming to join basement as Creative Developer
TypeScript
10
star
13

next-contentful-graphql

Setup for using next with Contentful's Graphql API and have code generation for the schema and the queries and stuff... with great typescript support.
CSS
8
star
14

create-bsmnt-app

TypeScript
7
star
15

app-dir-example

App dir example made with our next-typescript starter.
CSS
7
star
16

react-shopify-drop

A react library to interact with Shopify's Storefront API
TypeScript
6
star
17

challenge

First step in order to become a basementer, lol.
3
star
18

b-hydra

CSS
3
star
19

scripts

Python
3
star
20

creative-toolkit

TypeScript
3
star
21

lbac-website

TypeScript
2
star
22

livepeer-org

JavaScript
1
star
23

next-shopify-drop

TypeScript
1
star