Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access update #100

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,css,scss,pug,html}]
charset = utf-8
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,css,scss,pug,html}]
charset = utf-8
134 changes: 67 additions & 67 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
name: Vue app builds successfully
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
cd client
npm install
npm run build --if-present
cd ..

test:
name: Tests server
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
cd server
npm install
npm test -- --ci
lint:
name: Tests the linting
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
cd server
npm install
npm run lint
cd ../client
npm install
npm run lint -- --no-fix
cd ..

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Vue app builds successfully
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
cd client
npm install
npm run build --if-present
cd ..
test:
name: Tests server
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
cd server
npm install
npm test -- --ci
lint:
name: Tests the linting
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
cd server
npm install
npm run lint
cd ../client
npm install
npm run lint -- --no-fix
cd ..
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.DS_Store
.vscode
.idea
.vim
.DS_Store
.vscode
.idea
.vim
62 changes: 31 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<div align="center">
<br/>
<br/>
<img src="banner.png" width="480">
<br/>
<br />
</div>

![CI](https://github.com/samarsault/noodle/workflows/CI/badge.svg)

### Noodle is currently under development, not suitable for use/production.

## Installation

Requires: MongoDB, NodeJS

```sh
$ git clone https://github.com/samarsault/noodle
# Build the vue app
$ cd client && npm i && npm run build
$ cd ../server
# run the server
$ npm i && npm start
```
To run the app, you will require a .env file listing your GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET. You can obtain it via the [Google API console](https://console.developers.google.com/). The file will look something like(dont copy this):
```
GOOGLE_CLIENT_ID=sdjfoasjfoda
GOOGLE_CLIENT_SECRET=3232-u23.apps.googleusercontent.com
```

Note that the first user you create is granted admin status by default.
<div align="center">
<br/>
<br/>
<img src="banner.png" width="480">
<br/>
<br />
</div>
![CI](https://github.com/samarsault/noodle/workflows/CI/badge.svg)
### Noodle is currently under development, not suitable for use/production.
## Installation
Requires: MongoDB, NodeJS
```sh
$ git clone https://github.com/samarsault/noodle
# Build the vue app
$ cd client && npm i && npm run build
$ cd ../server
# run the server
$ npm i && npm start
```
To run the app, you will require a .env file listing your GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET. You can obtain it via the [Google API console](https://console.developers.google.com/). The file will look something like(dont copy this):
```
GOOGLE_CLIENT_ID=sdjfoasjfoda
GOOGLE_CLIENT_SECRET=3232-u23.apps.googleusercontent.com
```
Note that the first user you create is granted admin status by default.
66 changes: 33 additions & 33 deletions client/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
..
node_modules
.DS_Store
dist

# local env files
.env
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# local db
db
uploads
coverage

public/stylesheets/*.css
public/stylesheets/*.css.map

tags
..
node_modules
.DS_Store
dist
# local env files
.env
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# local db
db
uploads
coverage
public/stylesheets/*.css
public/stylesheets/*.css.map
tags
42 changes: 21 additions & 21 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
10 changes: 5 additions & 5 deletions client/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"useTabs": false,
"tabWidth": 2
}

{
"useTabs": false,
"tabWidth": 2
}
Loading