Skip to content

Commit 1422fc8

Browse files
author
Dominic Woerner
committed
Initial commit.
0 parents  commit 1422fc8

16 files changed

+8378
-0
lines changed

Diff for: .gitignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Various IDEs and Editors
2+
.vscode/
3+
.idea/
4+
**/*~
5+
6+
# Mac OSX temporary files
7+
.DS_Store
8+
**/.DS_Store
9+
10+
# dfx temporary files
11+
.dfx/
12+
13+
# generated files
14+
src/declarations/
15+
16+
# rust
17+
target/
18+
19+
# frontend code
20+
node_modules/
21+
dist/

Diff for: Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[workspace]
2+
members = [
3+
"src/access_control_backend",
4+
]

Diff for: README.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# access_control
2+
3+
Welcome to your new access_control project and to the internet computer development community. By default, creating a new project adds this README and some template files to your project directory. You can edit these template files to customize your project and to include your own code to speed up the development cycle.
4+
5+
To get started, you might want to explore the project directory structure and the default configuration file. Working with this project in your development environment will not affect any production deployment or identity tokens.
6+
7+
To learn more before you start working with access_control, see the following documentation available online:
8+
9+
- [Quick Start](https://smartcontracts.org/docs/quickstart/quickstart-intro.html)
10+
- [SDK Developer Tools](https://smartcontracts.org/docs/developers-guide/sdk-guide.html)
11+
- [Rust Canister Devlopment Guide](https://smartcontracts.org/docs/rust-guide/rust-intro.html)
12+
- [ic-cdk](https://docs.rs/ic-cdk)
13+
- [ic-cdk-macros](https://docs.rs/ic-cdk-macros)
14+
- [Candid Introduction](https://smartcontracts.org/docs/candid-guide/candid-intro.html)
15+
- [JavaScript API Reference](https://erxue-5aaaa-aaaab-qaagq-cai.raw.ic0.app)
16+
17+
If you want to start working on your project right away, you might want to try the following commands:
18+
19+
```bash
20+
cd access_control/
21+
dfx help
22+
dfx canister --help
23+
```
24+
25+
## Running the project locally
26+
27+
If you want to test your project locally, you can use the following commands:
28+
29+
```bash
30+
# Starts the replica, running in the background
31+
dfx start --background
32+
33+
# Deploys your canisters to the replica and generates your candid interface
34+
dfx deploy
35+
```
36+
37+
Once the job completes, your application will be available at `http://localhost:4943?canisterId={asset_canister_id}`.

Diff for: dfx.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"canisters": {
3+
"access_control_backend": {
4+
"candid": "src/access_control_backend/access_control_backend.did",
5+
"package": "access_control_backend",
6+
"type": "rust"
7+
},
8+
"access_control_frontend": {
9+
"dependencies": [
10+
"access_control_backend"
11+
],
12+
"frontend": {
13+
"entrypoint": "src/access_control_frontend/src/index.html"
14+
},
15+
"source": [
16+
"src/access_control_frontend/assets",
17+
"dist/access_control_frontend/"
18+
],
19+
"type": "assets"
20+
}
21+
},
22+
"defaults": {
23+
"build": {
24+
"args": "",
25+
"packtool": ""
26+
}
27+
},
28+
"version": 1
29+
}

0 commit comments

Comments
 (0)