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

add community project v2 #116

Open
wants to merge 87 commits into
base: feature/saas
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
db28bca
add community project
PierreCrb Nov 5, 2020
86e49ee
fix & clean code
PierreCrb Nov 5, 2020
737d83a
fix & clean design
PierreCrb Nov 5, 2020
6aa6a5e
add tag & editor page & gallery page
PierreCrb Nov 6, 2020
bd03682
add validated & udate design
PierreCrb Nov 9, 2020
e71d9c3
add image preview
PierreCrb Nov 13, 2020
913c4af
add preview page
PierreCrb Nov 13, 2020
8d7930c
fix type
PierreCrb Nov 13, 2020
49d39e3
update
PierreCrb Nov 13, 2020
daa1c3b
remove migration
PierreCrb Dec 1, 2020
85a2c08
add puppeteer for screenshot
PierreCrb Dec 3, 2020
32481c7
add migration
PierreCrb Dec 3, 2020
b5143a0
add postinstall
PierreCrb Dec 3, 2020
e5f584c
add thumbnail to database
PierreCrb Dec 4, 2020
aad5dd2
update
PierreCrb Dec 4, 2020
6a4a823
fix type
PierreCrb Dec 4, 2020
dc4bd17
fix circleci
PierreCrb Dec 4, 2020
50b13a4
add next export
PierreCrb Dec 4, 2020
49f3599
update gitignore
PierreCrb Dec 4, 2020
3a06de7
fix #107
PierreCrb Dec 4, 2020
3e7fa38
remove public
PierreCrb Dec 4, 2020
3fd5fe5
update package
PierreCrb Dec 4, 2020
8fb9292
fix
PierreCrb Dec 7, 2020
0f146da
fix
PierreCrb Dec 7, 2020
e2e551f
update package
PierreCrb Dec 7, 2020
a5aca1e
update
PierreCrb Dec 7, 2020
20d8695
remove puppeteer
PierreCrb Dec 7, 2020
44d8113
add validated
PierreCrb Dec 7, 2020
e5f746a
remove comment
PierreCrb Dec 8, 2020
e59e1a0
remove screenshot lib
PierreCrb Dec 8, 2020
7e87277
fix
PierreCrb Dec 8, 2020
76c2684
test
PierreCrb Dec 8, 2020
457dfbc
fix
PierreCrb Dec 8, 2020
e6dac77
update next config
PierreCrb Dec 8, 2020
79176dc
remove update for test
PierreCrb Dec 9, 2020
a2370d2
fix
PierreCrb Dec 11, 2020
11202a6
add netlify function
PierreCrb Dec 11, 2020
4df28a8
update netlify.toml
PierreCrb Dec 14, 2020
23d148e
update nextauth
PierreCrb Dec 14, 2020
798c3a0
update version
PierreCrb Dec 14, 2020
9418658
fix
PierreCrb Dec 14, 2020
7bc8397
add site nextauth
PierreCrb Dec 15, 2020
7e83e39
update netlify.toml
PierreCrb Dec 15, 2020
d7ef4c0
update signIn
PierreCrb Dec 17, 2020
23cde7e
change node version
PierreCrb Dec 18, 2020
db2550f
upgrade prisma
PierreCrb Dec 18, 2020
d4b3716
add gitignore
PierreCrb Dec 18, 2020
e54e99a
update prisma
PierreCrb Dec 21, 2020
46537c7
update nextauth
PierreCrb Dec 21, 2020
bede377
update prisma
PierreCrb Dec 21, 2020
5c12273
test finally
PierreCrb Dec 21, 2020
bb40615
test fallback
PierreCrb Dec 21, 2020
a19c9d7
add fallback
PierreCrb Dec 22, 2020
ef68147
test getServerSideProps
PierreCrb Dec 22, 2020
3e08085
add getServerSideProps
PierreCrb Dec 23, 2020
44d8365
update fallback
PierreCrb Jan 18, 2021
196c4f7
add plugin-nextjs
PierreCrb Jan 18, 2021
f78c9f5
fix
PierreCrb Jan 18, 2021
fa6a3f8
upgrade next version
PierreCrb Jan 19, 2021
8a78afb
upgrade prisma
PierreCrb Jan 19, 2021
f85c53a
migrate
PierreCrb Jan 19, 2021
cac4285
update init prisma client
PierreCrb Jan 19, 2021
326a79d
fix
PierreCrb Jan 20, 2021
0669071
fix
PierreCrb Jan 21, 2021
8703e9f
update
PierreCrb Jan 22, 2021
e324fef
fix
PierreCrb Jan 25, 2021
5d360a1
remove function
PierreCrb Jan 25, 2021
5d90148
fix api
PierreCrb Jan 25, 2021
140a683
fix absolute url
PierreCrb Jan 25, 2021
49695f3
add netlify function
PierreCrb Jan 26, 2021
77f2277
add screenshot
PierreCrb Jan 26, 2021
d0a36c8
fix
PierreCrb Jan 26, 2021
675a048
fix
PierreCrb Jan 26, 2021
3649cb3
add spinner
PierreCrb Jan 27, 2021
111fc88
fix loader
PierreCrb Jan 27, 2021
13e62ae
fix call
PierreCrb Jan 28, 2021
531623a
clean code & improve perf
PierreCrb Jan 28, 2021
79eabfc
fix screenshot load
PierreCrb Jan 29, 2021
7b0631c
edit project name
PierreCrb Jan 29, 2021
38c708c
fix modal
PierreCrb Jan 29, 2021
6dafbb7
fix nextauth url
PierreCrb Feb 1, 2021
6e90a44
fix
PierreCrb Feb 1, 2021
2dbe21e
fix
PierreCrb Feb 2, 2021
378ca16
fix security
PierreCrb Feb 4, 2021
8f19d1c
update prisma
PierreCrb May 4, 2021
64e5f2c
fix
PierreCrb May 4, 2021
65d282e
update button project
PierreCrb May 5, 2021
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:10.16.3
- image: circleci/node:12.18.4

steps:
- checkout
Expand Down
2 changes: 2 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEXTAUTH_URL=https://deploy-preview-116--openchakra.netlify.app/
NODE_VERSION=12.18.4
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,12 @@ yarn-debug.log*
yarn-error.log*

.next

pgdata
/out_publish/
/out_functions/
zipped_functions/
netlify-automatic-functions/
out/

# Local Netlify folder
.netlify
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build]
command = "npm run build"

[[plugins]]
package = "@netlify/plugin-nextjs"
4 changes: 3 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.BUNDLE_VISUALIZE == 1,
})

module.exports = withPlugins([[withBundleAnalyzer, {}], [withTM]])
module.exports = withPlugins([[withBundleAnalyzer, {}], [withTM]], {
target: 'experimental-serverless-trace',
})
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,27 @@
"@emotion/core": "^10.0.27",
"@emotion/styled": "^10.0.27",
"@mdx-js/react": "^1.5.5",
"@prisma/client": "2.7.1",
"@prisma/client": "2.12.0",
"@reach/combobox": "^0.7.3",
"@rehooks/local-storage": "^2.1.1",
"@rematch/core": "^1.3.0",
"@types/puppeteer": "^5.4.1",
"browser-nativefs": "^0.7.1",
"chrome-aws-lambda": "^5.5.0",
"codesandbox": "^2.1.11",
"coloreact": "^0.3.1",
"copy-to-clipboard": "^3.2.1",
"emotion-theming": "^10.0.27",
"lodash": "^4.17.15",
"lodash-es": "^4.17.15",
"lz-string": "^1.4.4",
"next": "^9.5.1",
"netlify-cli": "^3.2.4",
"next": "9.5.5",
"next-auth": "^3.1.0",
"next-redux-wrapper": "^6.0.2",
"prism-react-renderer": "^1.0.2",
"puppeteer": "^5.5.0",
"puppeteer-core": "^5.5.0",
"react": "^16.12.0",
"react-color": "^2.18.0",
"react-color-picker": "^4.0.2",
Expand All @@ -45,6 +50,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"migration": "prisma migrate save --experimental && prisma generate",
"start": "next start",
"test": "jest",
"analyze": "BUNDLE_VISUALIZE=1 react-app-rewired build"
Expand All @@ -65,8 +71,9 @@
]
},
"devDependencies": {
"@netlify/plugin-nextjs": "^1.0.7",
"@next/bundle-analyzer": "^9.5.1",
"@prisma/cli": "2.7.1",
"@prisma/cli": "^2.14.0",
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^9.4.0",
"@testing-library/user-event": "^8.1.0",
Expand Down
2 changes: 1 addition & 1 deletion prisma/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# Prisma supports the native connection string format for PostgreSQL, MySQL and SQLite.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings

DATABASE_URL="postgresql://openchakra:chakra@localhost:54320/openchakra"
DATABASE_URL="postgresql://openchakra:chakra@localhost:54320/openchakra?synchronize=true?connection_limit=1"
142 changes: 0 additions & 142 deletions prisma/migrations/20200928140845-init/README.md

This file was deleted.

61 changes: 0 additions & 61 deletions prisma/migrations/20200928140845-init/schema.prisma

This file was deleted.

Loading