The Rambam · Sefer Ahavah
הלכות תפילה וברכת כהנים י״אPrayer and the Priestly Blessing 11
Chapter 11 of 15 in Prayer and the Priestly Blessing — 21 halachot
Halacha 1א׳
כל מקום שיש בו עשרה מישראל צריך להכין לו בית שיכנסו בו לתפלה בכל עת תפלה ומקום זה נקרא בה"כ וכופין בני העיר זה את זה לבנות להם בה"כ ולקנות להם ספר תורה נביאים וכתובים.
Wherever there are ten Israelites resident, an edifice must be fitted up, where they can assemble for worship at each period of prayer. Such a building is termed a synagogue. The residents exercise compulsory powers on each other for the purpose of erecting a synagogue and purchasing a scroll of the Law (Pentateuch), the prophetical books and the Hagiography.
Halacha 2ב׳
כשבונין בית הכנסת אין בונין אותה אלא בגבהה של עיר שנאמר בראש הומיות תקרא ומגביהין אותה עד שתהא גבוהה מכל חצרות העיר שנאמר ולרומם את בית אלהינו ואין פותחין פתחי הכנסת אלא במזרח שנאמר והחונים לפני המשכן קדמה ובונין בו היכל שמניחין בו ספר תורה ובונין היכל זה ברוח שמתפללין כנגדו באותה העיר כדי שיהיו פניהם אל מול ההיכל כשיעמדו לתפלה.
When a synagogue is to be built, the highest part of the town should be selected for the site, as it is said, "At the head of the noisy streets she [Wisdom] calleth" (Proverbs 1:21). The building is to be raised sufficiently high to overtop all the other courtyards of the town, as it is said, "To exalt the house of our God." (Ezra 9:9). The doors of the Synagogue are to be made to open only on the East side, as it is said, "And those who encamped before the Tabernacle eastwards" (Numbers 3:38). Within, a shrine is built to contain a scroll of the Law. This shrine is erected on the side towards which the people in that town turn when praying, so that when they are standing engaged in prayer, they will face the shrine.
Halacha 3ג׳
ומעמידין בימה באמצע הבית כדי שיעלה עליה הקורא בתורה או מי אשר אומר לעם דברי כבושין כדי שישמעו כולם וכשמעמידין התיבה שיש בה ספר תורה מעמידין אותה באמצע ואחורי התיבה כלפי ההיכל ופניה כלפי העם.
In the centre of the building, a platform is erected, which the Reader of the lesson from the Pentateuch or whoever exhorts the people mounts, so that all the congregation may hear. The desk (Tebah) on which the scroll is placed (when reading the Torah) is set up in the centre,*In the centre of the platform. its back towards the Shrine, its front facing the people.
Mishneh Torah, Hebrew Wikisource edition, via Sefaria — CC BY-SA
English: The Mishneh Torah by Maimonides, tr. Moses Hyamson, 1937-1949 — public domain