|
1 |
| -# Days 85-97 Full stack web made easy |
| 1 | +# Days 85-87 Full stack web made easy |
2 | 2 |
|
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. |
4 | 4 |
|
5 | 5 | ## Day N: Create the visual UI and interaction
|
6 | 6 |
|
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 | +[](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 | + |
| 22 | + |
| 23 | +Day 1 is done! Go ahead and run your app just to see it come to life. |
8 | 24 |
|
9 | 25 | ## Day N+1: Add the database and server code
|
10 | 26 |
|
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 | + |
| 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! |
12 | 36 |
|
13 | 37 | ## Day N+2: Putting it together
|
14 | 38 |
|
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 | + |
| 42 | + |
| 43 | +Finally, if this is something you'd like to share with the world, be sure to publish your app. |
| 44 | + |
| 45 | + |
16 | 46 |
|
17 | 47 | ### Time to share what you've accomplished!
|
18 | 48 |
|
|
0 commit comments