https://github.com/tdevuit/kapi
Kapi - Japanese Learning App
https://github.com/tdevuit/kapi
expo-router learning nest next-js turborepo typescipt
Last synced: about 1 year ago
JSON representation
Kapi - Japanese Learning App
- Host: GitHub
- URL: https://github.com/tdevuit/kapi
- Owner: TDevUIT
- Created: 2024-09-13T16:13:28.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-12-23T05:58:15.000Z (over 1 year ago)
- Last Synced: 2025-04-24T04:42:18.426Z (about 1 year ago)
- Topics: expo-router, learning, nest, next-js, turborepo, typescipt
- Language: TypeScript
- Homepage:
- Size: 2.06 MB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web, Mobile Application Development
### Apps and Packages
- `native`: a [react-native](https://reactnative.dev/) app built with [expo](https://docs.expo.dev/)
- `web`: a [Next.js](https://nextjs.org/) app built with [react-native-web](https://necolas.github.io/react-native-web/)
- `nest`: a [Nest.js](https://nestjs.com/)
- `@repo/ui`: a stub [react-native](https://reactnative.dev/) component library shared by both `web` and `native` applications
- `@repo/typescript-config`: `tsconfig.json`s used throughout the monorepo
Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).
### Utilities
This Turborepo has some additional tools already setup for you:
- [Expo](https://docs.expo.dev/) for native development
- [TypeScript](https://www.typescriptlang.org/) for static type checking
- [Prettier](https://prettier.io) for code formatting
## Requirements
- [Expo](https://expo.dev/)
- [Turbo](https://turbo.build/repo/docs/getting-started/installation)
- [NestJS & NestCLI](https://docs.nestjs.com/first-steps)
- [NextJS](https://nextjs.org/)
---
## Running the Project
### Create Google OAuth App
Follow this guide: [Creating an OAuth App](https://support.google.com/cloud/answer/6158849?hl=en)
- **Authorized JavaScript origins**: `http://localhost:3001`
- **Authorized redirect URIs**: `http://localhost:3001/auth/google/callback`
Save the **Client ID** and **Client Secret** for the next step.
---
### Run the Project
```sh
$ yarn install
$ yarn run dev
```
#### Create a `.env` file in the `server` directory
```shell
$ cd server
$ cp .env.example .env
```
## Server
### Create migration
```shell
$ cd server
$ npx prisma migrate dev --name
```