Skip to content
This repository was archived by the owner on May 12, 2018. It is now read-only.

Commit 5030185

Browse files
committed
Your turn for anvil
1 parent 896b2cf commit 5030185

File tree

7 files changed

+35
-6
lines changed

7 files changed

+35
-6
lines changed

days/85-87-full-stack-easy/README.md

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,48 @@
1-
# Days 85-97 Full stack web made easy
1+
# Days 85-87 Full stack web made easy
22

3-
tbd
3+
Are you ready to write a full stack web app, the easy way? You'll use Anvil to build out an application of your choosing. Think of a simple app that you've seen us building or you have built during this course and recreate it using Anvil.
44

55
## Day N: Create the visual UI and interaction
66

7-
tbd
7+
Today you've watched quite a few videos. Round out today with a little exploration and drag-and-drop magic to build the UI.
8+
9+
First, you'll need to register at Anvil. Remember, if you use our code, you'll get 10% off a subscription if you decide you want one at a later date.
10+
11+
Create an account via: [**talkpython.fm/anvil100**](https://talkpython.fm/anvil100)
12+
13+
[![](readme_resources/register.png)](https://talkpython.fm/anvil100)
14+
15+
Once you have your account, create a new app (material design, side-bar style). Then
16+
17+
1. Add links to the various pages in the sidebar
18+
2. Define subforms for each view you'll need (if there is only one just use the main form as your surface)
19+
3. Fill out the visual design for the various forms (this includes naming the elements you'll interact with via code)
20+
21+
![](readme_resources/edit-ui.png)
22+
23+
Day 1 is done! Go ahead and run your app just to see it come to life.
824

925
## Day N+1: Add the database and server code
1026

11-
Tbd
27+
On this, the second day, create the necessary database structures by adding a `service > data tables` and then defining the table structure.
28+
29+
You may or may not need this depending on what your application does.
30+
31+
![](readme_resources/tables.png)
32+
33+
Next, add a server module which has methods to allow you to get access to your data in a simple and clean manner. Recall you do this by adding a server module and the commented code will help you with the rest.
34+
35+
That's day 2!
1236

1337
## Day N+2: Putting it together
1438

15-
Tbd
39+
Finally, add the logic to your various forms. Start with the main form and making navigation via your menu possible. Then add the logic behind the buttons and other UI elements you created on day 1.
40+
41+
![](readme_resources/code.png)
42+
43+
Finally, if this is something you'd like to share with the world, be sure to publish your app.
44+
45+
![](readme_resources/pub.png)
1646

1747
### Time to share what you've accomplished!
1848

112 KB
Loading
34.8 KB
Loading

days/85-87-full-stack-easy/readme_resources/placeholder.md

Lines changed: 0 additions & 1 deletion
This file was deleted.
70.2 KB
Loading
114 KB
Loading
54.5 KB
Loading

0 commit comments

Comments
 (0)