Skip to content

Commit

Permalink
nuxt3
Browse files Browse the repository at this point in the history
  • Loading branch information
mo9a7i committed Oct 28, 2023
1 parent fa6c80d commit 2a6a665
Show file tree
Hide file tree
Showing 27 changed files with 6,418 additions and 142 deletions.
100 changes: 17 additions & 83 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,90 +1,24 @@
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
/logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
# Nuxt dev/build outputs
.output
.data
.nuxt

# Nuxt generate
.nitro
.cache
dist

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

# IDE / Editor
.idea
# Node dependencies
node_modules

# Service worker
sw.*
# Logs
logs
*.log

# macOS
# Misc
.DS_Store
.fleet
.idea

# Vim swap files
*.swp
# Local env files
.env
.env.*
!.env.example
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
79 changes: 61 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,75 @@
# js_nuxt_foursquare_bot_settings
# Nuxt 3 Minimal Starter

## Initial Configs
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

- Enabled ?
This sets weather the bot should do actions for this user or not, in general.

- Auto Check-in
This should be a separated filed set, if set yes, a list of venues should be selected, then, a crontab setting should be set.
## Setup

Make sure to install the dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install
```

## Development Server

Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build
```

## Build Setup
Locally preview production build:

```bash
# install dependencies
$ npm install
# npm
npm run preview

# serve with hot reload at localhost:3000
$ npm run dev
# pnpm
pnpm run preview

# build for production and launch server
$ npm run build
$ npm run start
# yarn
yarn preview

# generate static project
$ npm run generate
# bun
bun run preview
```

For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
5 changes: 5 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<template>
<div>
<NuxtWelcome />
</div>
</template>
6 changes: 6 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@pinia/nuxt',],

})
File renamed without changes.
File renamed without changes.
90 changes: 90 additions & 0 deletions nuxt2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
/logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# Nuxt generate
dist

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

# IDE / Editor
.idea

# Service worker
sw.*

# macOS
.DS_Store

# Vim swap files
*.swp
File renamed without changes.
32 changes: 32 additions & 0 deletions nuxt2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# js_nuxt_foursquare_bot_settings

## Initial Configs

- Enabled ?
This sets weather the bot should do actions for this user or not, in general.

- Auto Check-in
This should be a separated filed set, if set yes, a list of venues should be selected, then, a crontab setting should be set.





## Build Setup

```bash
# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate
```

For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
39 changes: 39 additions & 0 deletions nuxt2/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "js_nuxt_foursquare_bot_settings",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"@nuxtjs/auth-next": "5.0.0-1648802546.c9880dc",
"@nuxtjs/axios": "^5.13.6",
"@nuxtjs/firebase": "^8.2.2",
"@nuxtjs/proxy": "^2.1.0",
"@popperjs/core": "^2.11.5",
"axios": "^1.3.3",
"body-parser": "^1.20.0",
"bootstrap": "^5.2.2",
"bootstrap-icons": "^1.8.1",
"bootstrap-sass": "^3.4.3",
"connect-timeout": "^1.9.0",
"cookie": "^0.5.0",
"cookie-universal-nuxt": "^2.2.2",
"core-js": "^3.19.3",
"express": "^4.18.1",
"expressjs": "^1.0.1",
"firebase": "^9.10.0",
"nuxt": "^2.15.8",
"passport": "^0.6.0",
"passport-oauth2": "^1.6.1",
"sass": "^1.49.9",
"sass-loader": "^10.1.1",
"vue": "^2.6.14",
"vue-server-renderer": "^2.6.14",
"vue-template-compiler": "^2.6.14",
"webpack": "^4.46.0"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2a6a665

Please sign in to comment.