This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | HOST_NAME=minima | |
| source ~/.nvm/nvm.sh | |
| nvm use stable | |
| shopt -s autocd | |
| shopt -s histappend | |
| export PATH=$PATH:$HOME/bin | |
| export HISTSIZE=5000 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from typing import Optional | |
| from fastapi import FastAPI | |
| from fastapi.middleware.cors import CORSMiddleware | |
| import uvicorn | |
| from tortoise import Tortoise, run_async | |
| from tortoise.contrib.fastapi import register_tortoise | |
| from tortoise.query_utils import Q | |
| import pandas as pd | |
| from models import Address_Pydantic, Address, Category_Pydantic, Category | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | .next/ | |
| node_modules/ | |
| Dockerfile | |
| yarn-error.log | |
| .dockerignore | |
| .git | |
| .gitignore | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import Link from "next/link"; | |
| import Layout from "../components/Layout"; | |
| import { btn, btnPrimary } from "./_app.module.scss"; | |
| const IndexPage = () => ( | |
| <Layout title="Home | Next.js + TypeScript Example"> | |
| <h1>Hello Next.js 👋</h1> | |
| <p> | |
| <Link href="/about"> | |
| <a>About</a> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "name": "with-typescript", | |
| "version": "1.0.0", | |
| "scripts": { | |
| "dev": "next", | |
| "build": "next build", | |
| "start": "next start", | |
| "type-check": "tsc", | |
| "scss": "tsm pages --aliasPrefixes.~ node_modules/" | |
| }, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import Link from "next/link"; | |
| import Layout from "../components/Layout"; | |
| import styles from "./_app.module.scss"; | |
| const IndexPage = () => ( | |
| <Layout title="Home | Next.js + TypeScript Example"> | |
| <h1>Hello Next.js 👋</h1> | |
| <p> | |
| <Link href="/about"> | |
| <a>About</a> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @import "~bootstrap/scss/_functions"; | |
| @import "~bootstrap/scss/_variables"; | |
| @import "~bootstrap/scss/_mixins"; | |
| @import "~bootstrap/scss/_root"; | |
| @import "~bootstrap/scss/_reboot"; | |
| @import "~bootstrap/scss/_type"; | |
| @import "~bootstrap/scss/_images"; | |
| @import "~bootstrap/scss/_code"; | |
| @import "~bootstrap/scss/_grid"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { AppProps } from "next/app"; | |
| import "./_app.module.scss"; | |
| export default ({ Component, pageProps }: AppProps) => { | |
| return <Component {...pageProps} />; | |
| }; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const withSass = require('@zeit/next-sass') | |
| module.exports = withSass({ | |
| cssModules: true, | |
| cssLoaderOptions: { | |
| camelCase: 'dashes', | |
| importLoaders: 1, | |
| localIdentName: "[local]___[hash:base64:5]", | |
| }, | |
| sassLoaderOptions: { | |
| includePaths: ["node_modules", "./node_modules"], |