https://github.com/charles-dr/discord-auth-for-unity
Node API for Discord Login
https://github.com/charles-dr/discord-auth-for-unity
discord-js nodejs socket-io typescript
Last synced: 2 months ago
JSON representation
Node API for Discord Login
- Host: GitHub
- URL: https://github.com/charles-dr/discord-auth-for-unity
- Owner: charles-dr
- Created: 2022-04-23T13:37:48.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-23T13:38:17.000Z (about 4 years ago)
- Last Synced: 2025-04-04T14:11:23.707Z (about 1 year ago)
- Topics: discord-js, nodejs, socket-io, typescript
- Language: TypeScript
- Homepage: https://evening-badlands-72939.herokuapp.com
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NodeJS API Example
## Tech Stacks
- Node.js
- Express.js
- Typescript
## How to Run
### Configuration
- Install Packages
```bash
npm install
```
- Port
Before running the server, you can configure the port in .env
```bash
cp .env.example .env
```
The default port is 3000.
### To run on local machine
```bash
npm run dev
```
### Test
```bash
npm run test
```
### Build
```bash
npm run build
```
### Deploy to Heroku
```bash
heroku login # if you didn't login to heroku.
heroku create # one time only
npm run deploy:heroku
```
## Reference
- [How to tie socket.io width express an TypeScript?](https://stackoverflow.com/questions/66686377/how-to-tie-socket-io-width-express-an-typescript)