File tree Expand file tree Collapse file tree 8 files changed +5959
-6
lines changed Expand file tree Collapse file tree 8 files changed +5959
-6
lines changed Original file line number Diff line number Diff line change 1
1
# ⚛️ cra-template-appwrite
2
2
3
- > Contains the most advanced ` todo-list ` which you ever seen!
3
+ > Contains the most advanced appwrite starter kit which you ever seen!
4
4
5
5
[ ![ npm] ( https://img.shields.io/npm/v/cra-template-appwrite.svg?style=flat-square )] ( https://npmjs.org/package/cra-template-appwrite )
6
6
@@ -26,7 +26,8 @@ npx create-react-app . --template=appwrite
26
26
4 . [ MSW] ( https://mswjs.io/ )
27
27
5 . [ tss-react] ( https://www.tss-react.dev/ )
28
28
6 . [ react-declarative] ( https://www.npmjs.com/package/react-declarative )
29
- 7 . [ node-appwrite] ( https://www.npmjs.com/package/node-appwrite )
29
+ 7 . [ appwrite] ( https://www.npmjs.com/package/appwrite )
30
+ 8 . [ local-web-server] ( https://www.npmjs.com/package/local-web-server )
30
31
31
32
## Code sample
32
33
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # export MYSQL_USER=user echo $MYSQL_USER
3
+ # export MYSQL_PASSWORD=password echo $MYSQL_PASSWORD
4
+ docker-compose exec mariadb sh -c ' exec mysqldump --all-databases --add-drop-database -u"$MYSQL_USER" -p"$MYSQL_PASSWORD"' > ./dump.sql
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # docker compose down
3
+ # docker volume ls
4
+ docker volume rm integration-for-gitpod_appwrite-builds
5
+ docker volume rm integration-for-gitpod_appwrite-cache
6
+ docker volume rm integration-for-gitpod_appwrite-certificates
7
+ docker volume rm integration-for-gitpod_appwrite-config
8
+ docker volume rm integration-for-gitpod_appwrite-functions
9
+ docker volume rm integration-for-gitpod_appwrite-influxdb
10
+ docker volume rm integration-for-gitpod_appwrite-mariadb
11
+ docker volume rm integration-for-gitpod_appwrite-redis
12
+ docker volume rm integration-for-gitpod_appwrite-uploads
13
+ # docker compose up
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # export MYSQL_USER=user echo $MYSQL_USER
3
+ # export MYSQL_PASSWORD=password echo $MYSQL_PASSWORD
4
+ docker-compose exec -T mariadb sh -c ' exec mysql -u"$MYSQL_USER" -p"$MYSQL_PASSWORD"' < dump.sql
Original file line number Diff line number Diff line change
1
+ # AppWrite auth credentials
2
+
3
+ > Login and passport for database import
4
+
5
+ ## Admin
6
+
7
+ ** Email:** ` admin@noemail.com `
8
+
9
+ ** Login:** ` admin `
10
+
11
+ ** Password:** ` password `
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module.exports = {
2
2
rewrite : [
3
3
{
4
4
from : '/(.*)' ,
5
- to : 'https://8080-appwrite-integrationfor-onrw45m2dan .ws-eu80.gitpod.io/$1' ,
5
+ to : 'https://8080-appwrite-integrationfor-7cc0ys19d0b .ws-eu80.gitpod.io/$1' ,
6
6
// ^^^^^^^^ using https is important
7
7
// @see https://github.com/appwrite/appwrite/issues/1082
8
8
} ,
Original file line number Diff line number Diff line change 1
1
export const CC_APP_NAME = 'AppName' ;
2
2
3
- export const CC_APPWRITE_PROJECT = '63a02a412d6e1ca98529 ' ;
3
+ export const CC_APPWRITE_PROJECT = '63b1f718287c1c2cf019 ' ;
4
4
5
5
// export const CC_APPWRITE_ENDPOINT = 'https://8080-appwrite-integrationfor-onrw45m2dan.ws-eu80.gitpod.io/v1';
6
6
export const CC_APPWRITE_ENDPOINT = 'http://localhost:3001/v1' ;
7
7
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
8
// @see npm run start:proxy
9
9
10
- export const CC_DB_TODO_COLLECTION_ID = '63b1c5123d181be8b187 ' ;
11
- export const CC_DB_TODO_DATABASE_ID = '63b1c50cc7de103b5249 ' ;
10
+ export const CC_DB_TODO_COLLECTION_ID = '63b1f7419bd5a1eae520 ' ;
11
+ export const CC_DB_TODO_DATABASE_ID = '63b1f73a5da8233847c0 ' ;
12
12
13
13
export const CC_MOCK_USER_EMAIL = 'user@noemail.com' ;
14
14
export const CC_MOCK_USER_PASSWORD = 'password' ;
You can’t perform that action at this time.
0 commit comments